Merge pull request #26272 from tolu-paystack/hide-ghana-postcode

Hide Postcode/Zip field on billing/shipping form when Ghana is selected
This commit is contained in:
Christopher Allford 2020-05-11 19:55:48 -07:00 committed by GitHub
commit 75d23712ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -946,6 +946,14 @@ class WC_Countries {
'required' => false,
),
),
'GH' => array(
'postcode' => array(
'required' => false,
),
'state' => array(
'label' => __( 'Region', 'woocommerce' ),
),
),
'GP' => array(
'state' => array(
'required' => false,