MainWP Community

Remove city and postcode fields from the shipping calculator in WooCommerce

Remove city and postcode fields from the shipping calculator in WooCommerce on your child site.

Snippet Type

Execute on Child Sites

Snippet

add_filter( ‘woocommerce_shipping_calculator_enable_city’, ‘__return_false’ );
add_filter( ‘woocommerce_shipping_calculator_enable_postcode’, ‘__return_false’ );
1 Like