Hi, easy way to ermove order comments at checkout? Added
// remove Order Notes from checkout field in Woocommerce
add_filter( ‘woocommerce_checkout_fields’ , ‘alter_woocommerce_checkout_fields’ );
function alter_woocommerce_checkout_fields( $fields ) {
unset($fields[‘order’][‘order_comments’]);
return $fields;
}
But it still shows… Any better solution?
Site URL: hidden Theme version: 0.0.1 WooCommerce version: 4.5.6
Did you add the code in functions.php file of your child theme that is activated ou your site?
You may try to add this code in Theme Option > Custom css:
Solved! When you code was added to Apperance > Customise > Extra CSS it did work.
(FYI: I added the code into a custom PHP plugin, so not to mess with the original PHP. But apparently that did not work. Also -adding your CSS to Theme Options > Custom CSS > Global Custom CSS did not work, only into the Extra CSS field… Strange. )
Our mission is to help Internet businesses and their customers interact in a way that mirrors real-world customer experience: personal, human, and fun.
Upload your translation files
Lorem ipsum dolor sit amet consectetur adipisicing elitsed do
Love us as much as we love you?
If you love XStore theme and have something nice to say
don’t hesitate to tell about this! We’d appreciate if you could take a moment to give us 5-stars!