I am looking for a way to hide the Zip code and state when the shipping country is JO
), 'JO' => array( 'postcode' => array( 'required' => false, 'hidden' => true, ), 'state' => array( 'required' => false, 'hidden' => true, ),
This code added to class-wc-countries.php does exactly what I need. Problem is I need someway to do it without editing core files.
Any suggestions please?
The page I need help with: [log in to see the link]
- The topic ‘Conditionally Hide ZIP and State for certain country’ is closed to new replies.