Simplify woocommerce plugin

Hello Victor.

You can customize through snippets.
They are code snippets created by developers that allow you to modify very specific functions of WordPress.

The easiest way to add the code is with a plugin

Once installed you just have to add the following code in the plugin:

/* * DISABLE WOOCOMMERCE CHECKOUT FIELDS */ function woo_custom_checkout_fields( $fields ) { unset ($fields); // Remove the Name field unset($fields); // Remove the LastName field unset ($fields); // Remove the Company field unset ($fields); // Remove the Address field 1 unset($fields); // Delete the Address field 2 unset ($fields); // Remove the Postal Code field unset($fields); // Delete the field Province unset ($fields); // Remove the Country field unset ($fields); // Remove the Email field unset($fields); // Remove the Phone field return $fields; } add_filter( ‘woocommerce_checkout_fields’ , ‘woo_custom_checkout_fields’ );

You will see that you have all the fields added, you can delete the fields that you want to be mandatory.

Another possibility would be that the check on the ‘send to a different address’ screen was disabled by default

To disable it:
.- Go to Woocommerce -> Settings
.- Select the Shipping tab
.- Select ‘Shipping Options’
.- Uncheck the option ‘By default, the shipping address’ and leave the option ‘By default to the customer’s billing address’ checked.

I hope this information helps you 😉

All the best

AnswerQuote

Answered : 11/07/2016 10:09 am

Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x