• Resolved hameedfarah

    (@hameedfarah)


    Hi
    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?

    • This topic was modified 2 years, 9 months ago by hameedfarah.
    • This topic was modified 2 years, 9 months ago by hameedfarah.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Conditionally Hide ZIP and State for certain country’ is closed to new replies.