Comments on: How to Edit and Disable Checkout Fields in Woocommerce http://www.aschroder.com/2012/01/how-to-edit-and-disable-checkout-fields-in-woocommerce/ Notes on Web Development Wed, 23 Dec 2020 09:25:05 +0000 hourly 1 https://wordpress.org/?v=4.8.15 By: Brian Stark http://www.aschroder.com/2012/01/how-to-edit-and-disable-checkout-fields-in-woocommerce/comment-page-2/#comment-10364 Thu, 20 Jun 2013 13:30:28 +0000 http://www.aschroder.com/?p=1646#comment-10364 Hey thanks for explaining this and laying it all out. You saved me a ton of time!

]]>
By: Ernest Zak http://www.aschroder.com/2012/01/how-to-edit-and-disable-checkout-fields-in-woocommerce/comment-page-2/#comment-10213 Mon, 13 May 2013 16:39:02 +0000 http://www.aschroder.com/?p=1646#comment-10213 Great plugin job ! You just SAVED me $29.00 in purchasing a WooCommerce Extension Checkout Field Editor. Many thanks mate, and keep up the outstanding work !

]]>
By: Cup of Joe http://www.aschroder.com/2012/01/how-to-edit-and-disable-checkout-fields-in-woocommerce/comment-page-2/#comment-10132 Thu, 25 Apr 2013 21:42:51 +0000 http://www.aschroder.com/?p=1646#comment-10132 Hi there, I am not a developer, can you just give me the copy to drop in
the document class-wc-checkout.php
It’s such a shame that they developed a wonderful system but left out this most simplest task, the custom checkout page would deter anyone who wants to buy an item. Mine is a digital store. So, i only would need name and email address. Thank you!

]]>
By: Mark http://www.aschroder.com/2012/01/how-to-edit-and-disable-checkout-fields-in-woocommerce/comment-page-2/#comment-9703 Thu, 21 Feb 2013 14:36:35 +0000 http://www.aschroder.com/?p=1646#comment-9703 I have used this an received the “Call to undefined function array_replace()” error. Also, how can I integrate this with AWD Weight/Country shipping plugin?

]]>
By: Tomislav Kozačinski http://www.aschroder.com/2012/01/how-to-edit-and-disable-checkout-fields-in-woocommerce/comment-page-2/#comment-9681 Fri, 08 Feb 2013 18:33:53 +0000 http://www.aschroder.com/?p=1646#comment-9681 Thank you for this. It helped a lot! If you make a plugin, be sure to add a donate button! 😉

]]>
By: Leon http://www.aschroder.com/2012/01/how-to-edit-and-disable-checkout-fields-in-woocommerce/comment-page-2/#comment-9676 Wed, 06 Feb 2013 10:16:23 +0000 http://www.aschroder.com/?p=1646#comment-9676 @AAA, I just copied the entire thing above and pasted it in the function.php of my theme. This is a custom theme so I don’t have to be concerned about an update overwriting the code. If you are then you can place the file disable checkout fields in your plugin folder on your server root/wp-content/plugins/disable-checkout-fields.php. Then go to the “installed plugins” screen of the WP UI and activate it.

@Rolly, on line 41 of the disable-checkout-fields.php file you can add ,’billing_phone’ right after ‘billing_state’. Don’t for get the comma then it will look like this: ‘billing_state’, ‘billing_phone’. Then on lines 62 through 67 delete:

‘billing_phone’ => array(
‘label’ => __(‘Phone’,’wc_disable_checkout_fields’),
‘placeholder’ => __(‘Phone number’,’wc_disable_checkout_fields’),
‘required’ => true,
‘class’ => array(‘form-row-first’)
)

Then you should be all set.

]]>
By: Leon http://www.aschroder.com/2012/01/how-to-edit-and-disable-checkout-fields-in-woocommerce/comment-page-2/#comment-9675 Wed, 06 Feb 2013 10:02:02 +0000 http://www.aschroder.com/?p=1646#comment-9675 Thank you very much for this contribution. It works perfect and does the heavy lifting for me. I am using it to give a client what they are requesting. However on a store I manage I pass the billing information to PayPal. Then they use it to authorize credit cards by billing address. Have you heard of this causing problems with PayPal or Google Wallet? I am going to do some testing and might have to turn off the option to pass the information to PayPal.

]]>
By: Rolly http://www.aschroder.com/2012/01/how-to-edit-and-disable-checkout-fields-in-woocommerce/comment-page-2/#comment-9669 Sun, 03 Feb 2013 19:37:50 +0000 http://www.aschroder.com/?p=1646#comment-9669 Hi. Great plugin since i have having a hard time removing the billing address etc. However, the plugin works fine, but i would like to remove the Phone number as well. How can i do this? Thanks

]]>
By: AAA http://www.aschroder.com/2012/01/how-to-edit-and-disable-checkout-fields-in-woocommerce/comment-page-2/#comment-9663 Fri, 01 Feb 2013 11:16:20 +0000 http://www.aschroder.com/?p=1646#comment-9663 How do you install this plugin? I am not an expert at PHP but I know a bit.
Where should the downloaded file be placed, what needs to be edited, etc.?

]]>
By: Rodrigo http://www.aschroder.com/2012/01/how-to-edit-and-disable-checkout-fields-in-woocommerce/comment-page-2/#comment-9242 Mon, 28 Jan 2013 02:41:55 +0000 http://www.aschroder.com/?p=1646#comment-9242 Nice plugin! Passed a year and I have not seen any like this in WP Repository.

]]>