Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    There isn’t a way to hide the zip code only since there is no selector for it. But you can hide the shipping destination field by adding the following code to Appearance > Customize > Additional CSS:

    .woocommerce-cart .woocommerce-shipping-destination {
      display: none;
    }
    Thread Starter islamfathi

    (@islamfathi)

    Hi @maykato
    thank you for your reply,

    I know your solution but it isn’t what I need, I need the shipping address be visible without zip code.
    can I remove it from the PHP file?
    as I know, the shipping destination div content is contents of many variables concatenated and shows me the values of all of them.
    If I’m right please guide me to find that variable and remove it by myself from the woocommerce file.

    thank you

    • This reply was modified 3 years, 5 months ago by islamfathi.
    Mirko P.

    (@rainfallnixfig)

    Hey @islamfathi,

    As mentioned by maykato there is no selector for the zip code and therefore I don’t think there is a way to hide it via CSS. You could probably use jQuery. For further help on this, I can recommend the following resources where many developers hang out:

    Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I need to hide zip code from shipping destination’ is closed to new replies.