/** * Remove country and city fields from shipping calculator and disable "calculate shipping" toggle non-sense. **/ add_filter( 'woocommerce_shipping_calculator_enable_country', '__return_false' ); add_filter( 'woocommerce_shipping_calculator_enable_city', '__return_false' );
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter