Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2013
    Location
    Mullumbimby
    Posts
    1
    Plugin Contributions
    0

    red flag Adding new postal zones

    I need to add more shipping zones which calculate the shipping cost. Australia post now has 7 different zones and Zencart only allows for 3 zones. How do I add more shipping zones to the shipping module?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Adding new postal zones

    I assume that you are referring to the builtin "Zones" shipping module???

    If so, download this file to your PC and open it in a code editor
    /includes/modules/shipping/zones.php

    At about line 113 there is this line that you can change to reflect the number of zones required
    BUT also read the comments at the top of the file for other edits that might be required
    Code:
          // CUSTOMIZE THIS SETTING FOR THE NUMBER OF ZONES NEEDED
          $this->num_zones = 3;
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Adding new postal zones

    Quote Originally Posted by Colour Streams View Post
    I need to add more shipping zones which calculate the shipping cost. Australia post now has 7 different zones and Zencart only allows for 3 zones. How do I add more shipping zones to the shipping module?
    I may be speaking out of place here, but do you seriously believe this to be a viable/practical method for these quotes?

    As well as this new change in zones, I assume you are aware that there have been no less than 5 changes to these rates in the last 12 months alone? Keeping the tables updated could be a very time consuming process.

    If that wasn't bad enough, Australia Post post only provide tables up to 2kgs in weight, anything more than this has a cost per additional 500gm applied (which also varies between zones). This means you'll either need to create your own additional tables for quotes between 2kg & 20kg (the max allowed), or modify the zones code to calculate these on demand.

    All things considered, you'll probably be better off using one of these modules instead:
    http://www.zen-cart.com/downloads.php?do=file&id=1138
    http://www.zen-cart.com/downloads.php?do=file&id=899

    I fully appreciate why neither of these options may not be suitable for your needs though, in which case please ignore this input.

    Cheers
    Rod

    Disclaimer: I am the author/developer of one of these modules, so I'm not entirely unbiased, even though I'd probably make the same suggestions even if I had no association with them at all.
    Last edited by RodG; 23 Apr 2013 at 09:58 AM.

 

 

Similar Threads

  1. v152 Adding address and postal code feilds to authorize.net
    By deziner76hd in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 23 Dec 2013, 08:15 PM
  2. Adding new zones to Zone Module
    By slenderdog in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 23 Aug 2007, 02:21 PM
  3. New UK postal charges
    By Ryk in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 31 Jul 2006, 06:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg