Title: Zip code missing
Last modified: October 24, 2021

---

# Zip code missing

 *  Resolved [shyton](https://wordpress.org/support/users/shyton/)
 * (@shyton)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/zip-code-missing/)
 * Hi ,when a user try to checkout a field to insert a zip code is no where to be
   found

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/zip-code-missing/#post-15004812)
 * Not all countries have zip codes. Which country?
 * Please post a link to your site.
 *  Thread Starter [shyton](https://wordpress.org/support/users/shyton/)
 * (@shyton)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/zip-code-missing/#post-15004960)
 * [https://affixzw.com/](https://affixzw.com/) ,I just want the option for someone
   to enter a zip code to be available ,,the payment gateway I was trying to use
   requires a zip code field
 *  Thread Starter [shyton](https://wordpress.org/support/users/shyton/)
 * (@shyton)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/zip-code-missing/#post-15004970)
 * I’m trying to use 2Checkout as a payment gateway
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/zip-code-missing/#post-15005007)
 * I can’t get to the checkout page, I don’t want to sign up. So the WooCommerce
   checkout page does have a postcode field? but this is not passed to 2Checkout?
   2Checkout isn’t supported here.
 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/zip-code-missing/#post-15005873)
 * Hi [@shyton](https://wordpress.org/support/users/shyton/),
 * What happens if you momentarily change the theme to Storefront, does the Zip 
   Code field appear? Please make a backup before doing any changes.
 *  Thread Starter [shyton](https://wordpress.org/support/users/shyton/)
 * (@shyton)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/zip-code-missing/#post-15006331)
 * Hi ,I tried to change my theme multiple times it was still the same
 *  Thread Starter [shyton](https://wordpress.org/support/users/shyton/)
 * (@shyton)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/zip-code-missing/#post-15006704)
 * I selected another country then the zip code field appeared ,so how do I set 
   it to be always visible even for countries that have no zip code?
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/zip-code-missing/#post-15006763)
 * You would need to use the filter: ‘woocommerce_get_country_locale’.
 * This is from class-wc-countries.php line 795 on. The filter will allow you to
   change whether or not the postcode field is required or hidden, on a per country
   basis.
 * But I don’t get why you would want a postcode field for a country that doesn’t
   have them. Would that not cause confusion to delivery services.
 *  Thread Starter [shyton](https://wordpress.org/support/users/shyton/)
 * (@shyton)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/zip-code-missing/#post-15008357)
 * [@lorro](https://wordpress.org/support/users/lorro/) ,thank you ,it worked .I
   was trying to use a payment gateway that requires a postal code field because
   most payment gateway aren’t available in my country & I also won’t be making 
   any deliveries because my site is craigslist ,it’s for advertising
 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/zip-code-missing/#post-15010105)
 * Great! Glad to hear that lorro’s advice helped solve the issue.
 * I’ll mark this topic as solved for now. [@shyton](https://wordpress.org/support/users/shyton/)
   please feel free to open a new topic if you have any other questions.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Zip code missing’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 10 replies
 * 3 participants
 * Last reply from: [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/zip-code-missing/#post-15010105)
 * Status: resolved