• Resolved darrenbire

    (@darrenbire)


    I’ve been working on a website that requires shipping zones/classes to differentiate whether a customer can buy the product or not.

    I have my zones set up so that in 1 zone (local), a subset of products can be shipped within it. The other zone (nationwide) should allow all other products to be sold to customers outside of my local area.

    This works in principal, however when someone outside of the local area adds a products from each shipping class, they can proceed to checkout. I require that when a product from (local) is the basket, customers outside of the local area cannot proceed to checkout.

    The local postcode is K34* and one of the local products:
    https://olive.ie/product/olive-deli-bubbles-and-cheese-delux/

    One of the nationwide products:
    https://olive.ie/product/olive-deli-coffee-and-chocolates/

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @darrenbire,

    Could we also get you to send over screenshots of the shipping zones and the methods inside those zones? That will help us spot what’s going on.

    Thanks!

    Thread Starter darrenbire

    (@darrenbire)

    Hi @3sonsdevelopment
    I have added some screenshots to a wetransfer at https://we.tl/t-24mBkjjFVY

    Thank you!

    Thread Starter darrenbire

    (@darrenbire)

    Hi @3sonsdevelopment
    This shipping issue is not yet resolved, have you had a chance to look at my screengrabs?
    Thanks!

    Hi @darrenbire,

    Thanks for sending over the screenshots. At least part of the trouble is that Ireland is included in the Dublin zone. An address can only match one zone. The system will compare shipping addresses starting with the zone at the top. As soon as a match is found, everything below that is ignored.

    In this case, the only shipping zone that will be used is the Dublin one. Any address in Ireland will trigger that zone since Ireland is included in the locations. The Ireland zone itself won’t be used.

    Try removing Ireland from the Dublin zone and see if it makes a difference for you. Let us know how that goes.

    Thread Starter darrenbire

    (@darrenbire)

    hi @3sonsdevelopment
    I’ve made changes as you’ve suggested however the problem persists.

    What I have done is enter the 26 Counties in Ireland seperately in the “Ireland” zone and have changed the “Dublin” Zone to Dublin, Ireland + The wildcards postcodes.

    The issue that I can see is the postcodes are all within Dublin but unfortunately the local delivery option is really restricted to an area of about 5-10kilometres. This means that there are a lot of areas in Dublin outside of the local zone but I must include Dublin in the “Ireland” zone for areas outside of the local zone to be able to recieve the non perishable goods.

    Do you have any suggestions to overcome this?

    Thanks,
    Darren

    Plugin Support Dani F. a11n

    (@danielinhou)

    Hi there @darrenbire ????

    I am not entirely sure that I have understood your new setup but I think that this what you want to achieve:

    • One zone that inlcudes 4 postcodes only where you will be granting local pickups and flat rate shipping
    • Another zone that includes the rest of Dublin and Ireland that will have use a flat rate method

    If that’s the case you will want to create a first zone with only the 4 postcodes that you have shared before. Here you will want to include the methods that apply for that zone only.

    Then you will want to create a second zone that will go below that. On this new zone you will add Ireland as the location.

    So the orders from the first 4 codes will be routed to the first shipping zone and all the other ones, even if they are from other Dublin areas, will go to the other zone.

    Let us know if this is what you were trying to achieve and keep us posted. We’ll be glad to keep troubleshooting this issue with you.

    Cheers!

    Thread Starter darrenbire

    (@darrenbire)

    Hi @danielinhou

    I have the zones set up as you set out. Unfortunately the problem is persisting.

    The shiping zones work correctly when there is only 1 type of product in the basket (ie. a local only product OR a nationwide product).
    When there is a 2nd type of product added then the shipping becomes available nationwide (ie. a local only product AND a nationwide product) – This is the error.

    I have attached screenshots for my current setup: https://we.tl/t-zaAjfGriy8

    P.S. I must included “Dublin, Ireland” above the 4 postcodes, when I leave that field blank I get an error to say my changes have not been saved.

    Thanks,
    Darren

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    I don’t think that shipping zones will fix your fundamental issue that you are looking to do.

    You want certain products to not be shippable outside of the Dublin area, and shipping zones can’t do that.

    However, you can do that using this plugin: https://docs.woocommerce.com/document/woocommerce-conditional-shipping-and-payments/#section-7

    WooCommerce Conditional Shipping and Payments can allow you to restrict shipping destinations based on your qualifications. In this case, restricting based on shipping class is likely easiest, or perhaps product category.

    Either way, Shipping Zones won’t do what you are wanting, but the plugin above will.

    Hi @darrenbire,

    Hopefully, that extension worked for you. Since we haven’t heard back from you in a while, I’m marking this thread resolved. If you do have any questions, please feel free to open up a new topic and we’ll be happy to help out.

    Cheers

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Shipping Zones not preventing shipping to some areas’ is closed to new replies.