• Resolved brianbolander

    (@brianbolander)


    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 to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Niels Lange

    (@nielslange)

    Hello @brianbolander,

    Have you set up the flat rate shipping options as seen on https://d.pr/i/SlspCV?

    Thread Starter brianbolander

    (@brianbolander)

    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

    (@laceyrod)

    Automattic Happiness Engineer

    Hi @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:

    And in the cart:

    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/ 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

    (@brianbolander)

    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/jrkAXU.jpg
    https://snipboard.io/0FdXMc.jpg

    laceyrod

    (@laceyrod)

    Automattic Happiness Engineer

    Hi @brianbolander,

    Thanks for the clarification. I’m no longer seeing the Shipping Calculator on the cart. Did you disable this?

    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

    (@brianbolander)

    @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/miC07G.jpg

    laceyrod

    (@laceyrod)

    Automattic Happiness Engineer

    Hi @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

    (@laceyrod)

    Automattic Happiness Engineer

    Hi @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

    (@laceyrod)

    Automattic Happiness Engineer

    Hi @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.