• Resolved sashatchepourko

    (@sashatchepourko)


    Hi,

    Is it possible to remove postcode/zip input field completely from the cart page and don’t require a postcode/zip upon shipping calculation?

    Using CSS I’ve hidden the input box however if country is US I still get an error message: Please enter a valid postcode/ZIP.

    Any help would be much appreciated.

    https://www.ads-software.com/plugins/woocommerce/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Since there is this old unanswered topic I decided not to open a new one.

    Our shop is located in Austria and we want to ship to nearly all countries of the European Union, but we won’t need a postcode to calculate the shipping costs. There will be one rate for Austria, one for Germany and one for all other member states of the EU.

    It’s quite strange to ask our customers for their postcode if it makes no difference at all…

    Is there a way to disable the postcode-field in the shipping calculator?

    Thanks,
    Stefan.

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Postcode is required for many country addresses, and its common to collect so I don’t see why it would need to be removed.

    Use https://docs.woocommerce.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/ anyhow.

    Sorry, that was mistakable…

    I’m only talking about the calculator on the shopping cart page where customers can calculate the shipping costs – before they decide to buy the products and check out.

    In my webshop there is no shipping zone defined by postcodes. So (only at this point) it makes no sense to ask for the postcode. However, when customers decide to buy the products I actually need the postcode for shipping.

    In my view the optimal solution for the calculator on the shopping cart page would look like this: only when customers select a country with different shipping zones defined by postcode the field is visible.

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    You can hide it with CSS.

    OK, thanks!

    BTW, I found this and it works for me:
    https://gist.github.com/WillBrubaker/49ccb5365a8632b8af8e

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shipping calculation postcode/zip not required’ is closed to new replies.