We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d294822 commit 0e6042dCopy full SHA for 0e6042d
disable-zipcode-validation-on-checkout-and-shipping-calculator-on-cart-in-woocommerce.code-snippets.json
@@ -0,0 +1 @@
1
+{"generator":"Code Snippets v2.14.3","date_created":"2021年12月23日 22:04","snippets":[{"name":"Disable zipcode validation on checkout and shipping calculator on cart in WooCommerce","desc":"https:\/\/stackoverflow.com\/questions\/51657296\/remove-postcode-from-woocommerce-cart-shipping-calculator\/\nhttps:\/\/njengah.com\/woocommerce-disable-postcodezip-validation-checkout\/","tags":["disable","postcode","zipcode","woocommerce","cart","shipping","calculator","checkout"],"scope":"global","code":"add_filter( 'woocommerce_shipping_calculator_enable_postcode', '__return_false' );\n\nadd_filter( 'woocommerce_default_address_fields' , 'wc_disable_postcode_validation' );\n \nfunction wc_disable_postcode_validation( $address_fields ) {\n $address_fields['postcode']['required'] = false;\n return $address_fields;\n}","priority":"10"}]}
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments