Removed States from Puerto Rico and better address formatting
This commit is contained in:
parent
0265e027ef
commit
418896ea86
|
@ -1062,6 +1062,7 @@ return array(
|
|||
'SD' => __( 'Sindh', 'woocommerce' ),
|
||||
),
|
||||
'PL' => array(),
|
||||
'PR' => array(),
|
||||
'PT' => array(),
|
||||
'PY' => array( // Paraguay states.
|
||||
'PY-ASU' => __( 'Asunción', 'woocommerce' ),
|
||||
|
|
|
@ -527,6 +527,7 @@ class WC_Countries {
|
|||
'NZ' => "{name}\n{company}\n{address_1}\n{address_2}\n{city} {postcode}\n{country}",
|
||||
'NO' => "{company}\n{name}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}",
|
||||
'PL' => "{company}\n{name}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}",
|
||||
'PR' => "{company}\n{name}\n{address_1} {address_2}\n{city} {postcode}\n{country}",
|
||||
'PT' => "{company}\n{name}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}",
|
||||
'SK' => "{company}\n{name}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}",
|
||||
'RS' => "{name}\n{company}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}",
|
||||
|
@ -1149,6 +1150,12 @@ class WC_Countries {
|
|||
'required' => false,
|
||||
),
|
||||
),
|
||||
'PR' => array(
|
||||
'state' => array(
|
||||
'required' => false,
|
||||
'hidden' => true,
|
||||
),
|
||||
),
|
||||
'PT' => array(
|
||||
'state' => array(
|
||||
'required' => false,
|
||||
|
|
Loading…
Reference in New Issue