This topic has 4 replies, 2 voices, and was last updated 9 years, 2 months ago ago by Eva Kemp
Hi
Is it possible to hide some of the woocommerce order fields? I mean some of them we dont use or want to offer…
Can we hide: Company Name, secound address field (Apartment, suite, unit)
see: https://www.dropbox.com/s/n9r4ozujwgzd1rw/hide-order-fields.jpg?dl=0
Best regards
Tonny
Hello,
You can refer to this article http://www.wpmayor.com/how-to-remove-the-billing-details-from-woocommerce-checkout/ , but use the code:
add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
function custom_override_checkout_fields( $fields ) {
unset($fields['billing']['billing_company']);
unset($fields['billing']['billing_address_2']);
return $fields;
}
Regards,
Eva Kemp.
Thanks a lot Eva!!! it works great!!! love it!!
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Hide some order fields?’' has been successfully resolved, and the topic is now closed for further responses