Title: [Plugin: WooCommerce &#8211; excelling eCommerce] zipcode issues
Last modified: August 20, 2016

---

# [Plugin: WooCommerce – excelling eCommerce] zipcode issues

 *  [scruffy1](https://wordpress.org/support/users/scruffy1/)
 * (@scruffy1)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-zipcode-issues/)
 * hi
 * some countries such as Ireland do not have zipcodes, yet the person checking 
   out is required to enter this, how can this be changed to not required if it 
   does not exist?
 * also a second question, how can i upload a list of countries I want to ship to
   rather than using the list you supply which is rather too long.
 * thanks
 * [http://wordpress.org/extend/plugins/woocommerce/](http://wordpress.org/extend/plugins/woocommerce/)

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

 *  [maggiemolloy](https://wordpress.org/support/users/maggiemolloy/)
 * (@maggiemolloy)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-zipcode-issues/#post-3107554)
 * hi,
    i saw your question when trying to fix this problem myself. ive since got
   it to work if you want to know how?
 * maggie
 *  Thread Starter [scruffy1](https://wordpress.org/support/users/scruffy1/)
 * (@scruffy1)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-zipcode-issues/#post-3107555)
 * to be honest I gave up on it as the woocommerce team dont have the decency to
   reply or offer a workaround given the money they want for themes and plugins,
   they simply offer extremely poor service for their core item which is required
   to spend money with them
 * in my opinion woocommerce team are slowly letting themselves down
 * yes maggie please do post how you did this
 * thanks
 *  [paddyphilipryan](https://wordpress.org/support/users/paddyphilipryan/)
 * (@paddyphilipryan)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-zipcode-issues/#post-3107556)
 * Hi maggie,
 * please post the content here if you can, I’m having the same problem as scruffy!!
 *  [paddyphilipryan](https://wordpress.org/support/users/paddyphilipryan/)
 * (@paddyphilipryan)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-zipcode-issues/#post-3107557)
 * Hi guys, here’s what you need to do, from an Irish perspective:
 * Go to your hosting package (Reg365 or whoever) and go to the file /wp-content/
   plugins/woocommerce/classes/class-wc-countries.php
 * What you want to do is to change the requirement to ‘false’ instead of ‘true’
 * ie ‘postcode’ => array(
    ‘label’ => __(‘Postcode/Zip’, ‘woocommerce’), ‘placeholder’
   => __(‘Postcode/Zip’, ‘woocommerce’), ‘required’ => false
 * there are two places you need to do this, if you want, I can get the other place
   or sent you my file which you can copy and paste
 *  [tristanfaganguimond](https://wordpress.org/support/users/tristanfaganguimond/)
 * (@tristanfaganguimond)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-zipcode-issues/#post-3107565)
 * Hi Paddy,
 * Can you send me on the location of the other file that needs to be updated? I
   am having the same issue!
 * Cheers,
    Tristan
 *  [Sakshin](https://wordpress.org/support/users/sakshin/)
 * (@sakshin)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-zipcode-issues/#post-3107578)
 * Same issue here. Can you please send us the file or location? Thank you so much.
 *  [AndrewAdcock](https://wordpress.org/support/users/andrewadcock/)
 * (@andrewadcock)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-zipcode-issues/#post-3107579)
 * The following code worked for me with on caveat, it makes ALL postcodes optional.
   Add this to your themes functions.php so future wooCommerce updates don’t overwrite
   it.
 *     ```
       function override_postcode( $fields ) {
            $fields['billing']['billing_postcode']['required'] = false;
            $fields['shipping']['shipping_postcode']['required'] = false;
            return $fields;
       }
       add_filter( 'woocommerce_checkout_fields' , 'override_postcode' );
       ```
   

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

The topic ‘[Plugin: WooCommerce – excelling eCommerce] zipcode issues’ 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/)

 * 7 replies
 * 6 participants
 * Last reply from: [AndrewAdcock](https://wordpress.org/support/users/andrewadcock/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-zipcode-issues/#post-3107579)
 * Status: not resolved