UPDATE 7/1/2014: Updated the code to remove company and address line 2 from the shipping side as well as the billing side.
The fields will still exist on your checkout page but will be invisible to your customers, so make sure the company field isn’t marked as being required or they won’t be able to checkout!
How do you remove it if it IS a required field?
It is is a required field, then you have to provide a value to get past Infusionsoft’s validation. You could set a default value using jQuery and then hide the field. To set a value you’d do something like this:
The company name would then be set to “Not required”.
Hi Jacob! InfusionSoft sent me to this blog post because I am trying to make the phone number not required. However, when I put this code into the Custom Header of my shopping cart (and tried to remove the Company option), it didn’t do anything. And then I tried to change the value to “phonenumber,” but it still didn’t do anything. I don’t know much about coding, but if you have any other suggestions, I would so appreciate it. Thanks!
Sorry, this code won’t work for you. This code only works at hiding fields that aren’t marked as required.
This code removes it from the Billing information but not the Shipping. How would you remove it from the shipping side as well? Thanks.
I’ve updated the code to remove the fields from both billing and shipping.
Any way to add a custom field to the Billing Information?
Hmm not sure. I’ll look into this for a future tip.
Thanks for this, Jacob!
Is there any way to remove the ‘Shipping Option’ from an order form even if you still want to provide the Shipping Information fields? IE – product being sold wants to collect shipping information BUT shipping cost is already included in price of product so there is no need to still have the ‘Shipping Option’ radio button and confuses customers….
Hi and thanks for all this help. Is there a way to remove the cc field on a single order form? Some of our events are free and there is no need to collect cc info.
I’m not aware of a way to remove the CC field on an order form, but you can remove it on a shopping cart page: https://novaksolutions.com/tips/hide-payment-options-for-free-items/
Hi Jacob, I believe Infusionsoft may have changed their order form templates? I tried your code today and didn’t have any success. Do you know if it still works?
Worked for me on an order form created today. Thanks for the help Jacob 🙂
The code removes the fields for me but I am wondering if there is a way to keep them there but make it so there not mandatory? Thanks
I would also like to know if it is possible to leave the field there but make it so it is not mandatory ? Many thanks in advance.