Support » Plugin: New Zealand Shipping Zones for WooCommerce » Auckland Default address

  • Resolved felliott

    (@felliott)


    Hi, We have added shipping zones but if you leave the default Region as Auckland (in the address) it overrides the postal code zone rate. How can we rectify this?

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Daniel Shaw

    (@chthnc)

    Hello @felliott,

    I can’t currently replicate this behaviour but I may not be understanding the issue correctly 🙂

    If you look at the Shipping Zones page (Dashboard: WooCommerce > Settings > Shipping tab > Shipping Zones) you’ll see the North & South Island zones generated by this plugin use the default WooCommerce regions to determine the correct shipping fee by island. Only the rural zones utlilise postcodes to help determine if a shipping destination is a rural address.

    When I add a rural postcode to the shipping calculator on the cart page of your site, I see the Flat rate fee correctly updates, regardless of what is entered in the City field. For example, with “Auckland” entered in the City field:

    • No postcode entered = $10.00 flat rate
    • 0782 postcode entered = $19.00 flat rate

    If possible, can you please provide a screenshot of the Shipping Zones page for your site?

    Plugin Author Daniel Shaw

    (@chthnc)

    A quick correction to my comment above: where I mention “City field” it should say “Region field”.

    Thread Starter felliott

    (@felliott)

    Thanks Daniel for your speedy response.
    An example would be if I purchased a
    – wooden ring garland 50cm
    – Put in the postal code 8011 (ChristChurch) or 8025

    The shipping cost should be South Island Urban $16 and we are getting a flat rate of $10 Dollars

    We have variable products with different sizes and different Shipping class costs.

    Do we have to add every area post code in?

    Plugin Author Daniel Shaw

    (@chthnc)

    Thanks for the clear example, @felliott, I believe I understand the issue now.

    Do we have to add every area post code in?

    Yes, if you want the postcode to always determine the shipping cost — regardless of the selected region — you’ll need to enter non-rural postcodes for each of the North and South Island zones.

    The steps to do this are:

    1. From the Shipping Zones page, click the zone name to be edited
    2. In the Zone regions section, click the “Limit to specific ZIP/postcodes” to enter postcodes

    I recommend sourcing postcodes from the NZ Post website, here: https://www.nzpost.co.nz/personal/sending/sending-guidelines/how-to-address-mail/postcodes/postcode-directory. The reason for this is I noticed issues with each of the postcode sets I came across when looking at existing guides for setting up NZ-based shipping zones.

    Plugin Author Daniel Shaw

    (@chthnc)

    you’ll need to enter non-rural postcodes for each of the North and South Island zones.

    To be extra clear, this refers to the non-rural North and South Island zones, only 🙂

    Thread Starter felliott

    (@felliott)

    Hi @chthnc Daniel,
    You have been very helpful – thank you for your support. ***** (5 Stars)
    Do you know where I can get the post codes in a csv or text doc?
    Thanks agin for your speedy support

    Plugin Author Daniel Shaw

    (@chthnc)

    Hello @felliott,

    You’re welcome 🙂

    I’m not sure of a reliable source in either of those formats, but an easier approach comes to mind. WooCommerce supports wildcards in postcodes, so it should be possible to define each island’s non-rural postcodes like this:

    North Island:

    • 0*
    • 1*
    • 2*
    • 3*
    • 4*
    • 5*
    • 6*

    South Island:

    • 7*
    • 8*
    • 9*

    Just in case it’s not clear, those number sets should be entered into the field that appears when you click the “Limit to specific ZIP/postcodes” link.

    Lastly, for each zone, remove each of the individual regions and replace with a single “New Zealand” zone in the Zone regions field.

    This approach should work because the rural postcodes will be checked by WooCommerce first (presuming you haven’t updated the order the plugin adds them). A user-entered postcode will first be checked against the rural postcodes; if there’s no match, a standard rate will be returned. Replacing the region zones with a single “New Zealand” zone will prevent a “no shipping method” error if a mismatching region and postcode is entered.

    Plugin Author Daniel Shaw

    (@chthnc)

    Hello @felliott,

    I’m going to mark this topic as resolved, based on the solution provided above. Please feel free to create a new thread if you have further questions 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Auckland Default address’ is closed to new replies.