Update class-wc-countries.php

hide PLZ

..based on feedback at https://github.com/woocommerce/woocommerce/issues/30375#issuecomment-937858938
This commit is contained in:
Brian 2021-10-07 17:30:55 +02:00 committed by barryhughes
parent 8abba36b89
commit c0e4852cda
1 changed files with 2 additions and 1 deletions

View File

@ -515,7 +515,7 @@ class WC_Countries {
'BE' => "{company}\n{name}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}",
'CA' => "{company}\n{name}\n{address_1}\n{address_2}\n{city} {state_code} {postcode}\n{country}",
'CH' => "{company}\n{name}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}",
'CL' => "{company}\n{name}\n{address_1}\n{address_2}\n{state}\n{postcode} {city}\n{country}",
'CL' => "{company}\n{name}\n{address_1}\n{address_2}\n{state}\n{city}\n{country}",
'CN' => "{country} {postcode}\n{state}, {city}, {address_2}, {address_1}\n{company}\n{name}",
'CZ' => "{company}\n{name}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}",
'DE' => "{company}\n{name}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}",
@ -927,6 +927,7 @@ class WC_Countries {
),
'postcode' => array(
'required' => false,
'hidden' => true,
),
'state' => array(
'label' => __( 'Region', 'woocommerce' ),