add_filter( 'woocommerce_checkout_fields' , 'osv_remove_billing_postcode_checkout' );
function osv_remove_billing_postcode_checkout( $fields ) {
unset($fields['billing']['billing_postcode']);
// see full list of fields here: https://docs.woocommerce.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/
return $fields;
}
Want to decrease bounce rate on checkout process and gain more lead?
Remove unimportant fields on checkout page!
Remove unimportant fields on checkout page!
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.