Title: Specific postcodes problem
Last modified: August 24, 2020

---

# Specific postcodes problem

 *  Resolved [brianbolander](https://wordpress.org/support/users/brianbolander/)
 * (@brianbolander)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/specific-postcodes-problem/)
 * I have configured my shop to Flat Rate shipping to Denmark. Default customer 
   location = Shop base address. When i go to Cart page the shipping rate is displayed.
   BUT when i enter Specific postcodes in the shipping zone settings for Denmark,
   shipping rates are no longer shown on Cart page ? Shop base adress IS included
   in the specific postcodes. I have seen this question before but not a valid answer,
   so i hope someone can help
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fspecific-postcodes-problem%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Niels Lange](https://wordpress.org/support/users/nielslange/)
 * (@nielslange)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/specific-postcodes-problem/#post-13303972)
 * Hello [@brianbolander](https://wordpress.org/support/users/brianbolander/),
 * Have you set up the flat rate shipping options as seen on [https://d.pr/i/SlspCV](https://d.pr/i/SlspCV)?
 *  Thread Starter [brianbolander](https://wordpress.org/support/users/brianbolander/)
 * (@brianbolander)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/specific-postcodes-problem/#post-13304049)
 * Yes and it works until i add Specific postcodes. I have seen this question asked
   before in forums but never answered with anything usefull, always (like your 
   answer, i´m sorry to say) replies like have you done this and that trivial things.
   I think problem is in woocommerce code but i cant figure out where to make the“
   correct” code change that solves the problem. Anyway i made a hack code change
   that works for me by adding “if(!$package[‘destination’][‘postcode’]) $package[‘
   destination’][‘postcode’] = get_option( ‘woocommerce_store_postcode’ ); ” in 
   class-wc-shipping.php “public function load_shipping_methods” but that is for
   sure not the correct way to solve this problem
 *  [laceyrod](https://wordpress.org/support/users/laceyrod/)
 * (@laceyrod)
 * Automattic Happiness Engineer
 * [5 years, 7 months ago](https://wordpress.org/support/topic/specific-postcodes-problem/#post-13306786)
 * Hi [@brianbolander](https://wordpress.org/support/users/brianbolander/) –
 * Thanks for reaching out!
 * I understand that when you create a Shipping Zone for Denmark and leave it as
   a general zone with no post codes, the correct shipping rates are visible on 
   the Cart page. However, the moment you add specific zip codes for Denmark in 
   the Shipping Zone, you’re no longer able to get rates in the cart once entering
   one of the listed codes.
 * I tested this on a default installation and couldn’t reproduce this. Here are
   my Shipping Zone settings:
 * ![](https://cdn-std.droplr.net/files/acc_544953/F66HY0)
 * And in the cart:
 * ![](https://cdn-std.droplr.net/files/acc_544953/F3HYjc)
 * Would you be able to send us a screenshot of your exact Shipping Zone settings
   so we could closer take a look? You can use [https://snipboard.io/](https://snipboard.io/)
   to send screenshots here. You’ll just drag and drop the image into the window,
   and it will generate a URL to paste here.
 * Also, can you send us a copy of your site’s System Status Report? You can find
   this by going to **WooCommerce > Status > System Status > Get System Report**
   in your WP-Admin dashboard.
 * Thanks!
 *  Thread Starter [brianbolander](https://wordpress.org/support/users/brianbolander/)
 * (@brianbolander)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/specific-postcodes-problem/#post-13306948)
 * Hi, thanks for responding. I think you got most of it right, but you write “you’re
   no longer able to get rates in the cart once entering one of the listed codes”
   and i should not be entering anything on the cart page. I want flat rate to be
   shown using shop base address postcode without having to enter any postcode. 
   Shop base address postcode is included in my list of postcodes.
    [https://snipboard.io/CxhD4W.jpg](https://snipboard.io/CxhD4W.jpg)
   [https://snipboard.io/jrkAXU.jpg](https://snipboard.io/jrkAXU.jpg) [https://snipboard.io/0FdXMc.jpg](https://snipboard.io/0FdXMc.jpg)
 *  [laceyrod](https://wordpress.org/support/users/laceyrod/)
 * (@laceyrod)
 * Automattic Happiness Engineer
 * [5 years, 7 months ago](https://wordpress.org/support/topic/specific-postcodes-problem/#post-13325154)
 * Hi [@brianbolander](https://wordpress.org/support/users/brianbolander/),
 * Thanks for the clarification. I’m no longer seeing the Shipping Calculator on
   the cart. Did you disable this?
 * ![](https://cdn-std.droplr.net/files/acc_544953/amDbMz)
 * Also, what’s the shop base postcode? Can you send a screenshot of the **WooCommerce
   > Settings > General (tab) settings**?
 * Thanks and looking forward to your reply.
 *  Thread Starter [brianbolander](https://wordpress.org/support/users/brianbolander/)
 * (@brianbolander)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/specific-postcodes-problem/#post-13348658)
 * [@laceyrod](https://wordpress.org/support/users/laceyrod/) you are right, the
   calculator isn’t there, i don’t know why, because it is NOT disabled
    [https://snipboard.io/WmCid1.jpg](https://snipboard.io/WmCid1.jpg)
   [https://snipboard.io/miC07G.jpg](https://snipboard.io/miC07G.jpg)
 *  [laceyrod](https://wordpress.org/support/users/laceyrod/)
 * (@laceyrod)
 * Automattic Happiness Engineer
 * [5 years, 7 months ago](https://wordpress.org/support/topic/specific-postcodes-problem/#post-13349721)
 * Hi [@brianbolander](https://wordpress.org/support/users/brianbolander/) –
 * Thanks for the extra screenshots. Would you mind sending me one last screenshot
   of your entire Shipping Zones view?
 * Also, can you send over your site’s System Status Report?
 *  [laceyrod](https://wordpress.org/support/users/laceyrod/)
 * (@laceyrod)
 * Automattic Happiness Engineer
 * [5 years, 7 months ago](https://wordpress.org/support/topic/specific-postcodes-problem/#post-13382409)
 * Hi [@brianbolander](https://wordpress.org/support/users/brianbolander/) –
 * Were you able to get this sorted out? If not, would you be able to send over 
   the screenshot of your Shipping Zones and the System Status Report?
 *  [laceyrod](https://wordpress.org/support/users/laceyrod/)
 * (@laceyrod)
 * Automattic Happiness Engineer
 * [5 years, 6 months ago](https://wordpress.org/support/topic/specific-postcodes-problem/#post-13413846)
 * Hi [@brianbolander](https://wordpress.org/support/users/brianbolander/) –
 * Since we haven’t heard back from you, I’m going to close out this thread and 
   mark it as `Resolved` now. Please feel free to open a new thread if you are still
   running into trouble with this.
 * Cheers!

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

The topic ‘Specific postcodes problem’ 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/)

## Tags

 * [flat rate](https://wordpress.org/support/topic-tag/flat-rate/)

 * 9 replies
 * 3 participants
 * Last reply from: [laceyrod](https://wordpress.org/support/users/laceyrod/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/specific-postcodes-problem/#post-13413846)
 * Status: resolved