Fix Puerto Rico State Checkout Error
This commit is contained in:
parent
e3e86872cb
commit
fde1b42d5b
|
@ -1461,7 +1461,6 @@ return array(
|
|||
'SD' => __( 'Sindh', 'woocommerce' ),
|
||||
),
|
||||
'PL' => array(),
|
||||
'PR' => array(),
|
||||
'PT' => array(),
|
||||
'PY' => array( // Paraguay states.
|
||||
'PY-ASU' => __( 'Asunción', 'woocommerce' ),
|
||||
|
|
|
@ -1314,8 +1314,7 @@ class WC_Countries {
|
|||
'label' => __( 'Municipality', 'woocommerce' ),
|
||||
),
|
||||
'state' => array(
|
||||
'required' => false,
|
||||
'hidden' => true,
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
'PT' => array(
|
||||
|
|
Loading…
Reference in New Issue