Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2009
    Posts
    46
    Plugin Contributions
    0

    Default Seven zone zipcode based shipping module help

    Hello,

    I would like to have a crack at using the Seven zone zipcode based shipping module but there are no instructions associated with it. Would some kind soul please point me in the right direction with this. ie which directories to save the php files in and what do I do with the SQL patch.txt file

    Thanks in Advance

    Using Zen Cart 1.3.8a

  2. #2
    Join Date
    Feb 2009
    Posts
    46
    Plugin Contributions
    0

    Default Re: Seven zone zipcode based shipping module help

    Its OK, I found the instructions in the php file

    Alan

  3. #3
    Join Date
    Jun 2009
    Location
    KL
    Posts
    16
    Plugin Contributions
    0

    help question Re: Seven zone zipcode based shipping module help

    which php file? im looking for the instructions too.
    zen cart: vers. 1.3.8, php 5
    grid layout mod.

  4. #4
    Join Date
    Jul 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: Seven zone zipcode based shipping module help

    anybody can tell about this mod instructions? I have installed, but there is no instructions on how to set up this mod? Thanks

  5. #5
    Join Date
    May 2008
    Location
    New Zealand
    Posts
    4
    Plugin Contributions
    0

    Default Re: Seven zone zipcode based shipping module help

    Quote Originally Posted by ekaya View Post
    which php file? im looking for the instructions too.
    Just download this module, unrar or unzip it somewhere on your desktop, go to ZipcodeZone>includes>modules>shipping, here you find two files zipcodezone.php and ziprush.php. Open either one with any text editor (Notepad++) and read how to use this module.
    Enjoy it!
    Everything about Ushanka hat - http://ushankahat.com

  6. #6
    Join Date
    Aug 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Seven zone zipcode based shipping module help

    Does this mod really allow different shipping rates to different zipcodes as its description seems to suggest? The zones look like they're just the two-letter ISO country codes that the default zone-shipping module uses.

    If this is possible with this mod, can anyone point me in the right direction?

  7. #7
    Join Date
    Aug 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Seven zone zipcode based shipping module help

    I solved this myself. The table that this mod uses by default uses only the first three digits of a zipcode. To base your shipping price on full 5-digit zip codes, you need to change the initial part of the SQL query from:

    CREATE TABLE `zipcodezone` (
    `zipcode_id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY,
    `zipcode_start` char(3) NOT NULL default '0',
    `zipcode_end` char(3) NOT NULL default '0',
    `zipcodezone` int(1) NOT NULL default '0');
    to

    CREATE TABLE `zipcodezone` (
    `zipcode_id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY,
    `zipcode_start` char(5) NOT NULL default '0',
    `zipcode_end` char(5) NOT NULL default '0',
    `zipcodezone` int(1) NOT NULL default '0');
    The rest of the query should be left off since it won't fall into the table correctly anyways. You can use the INSERT INTO command to fill the table in for yourself later. In the includes/modules/shipping/zipcodezone.php file, change the line:

    $zipcode_prefix = substr($order->delivery['postcode'],0,3);
    to

    $zipcode_prefix = substr($order->delivery['postcode'],0,5);
    This fix works on my site. I've got each local zipcode that my store delivers to marked as a different zone, with a unique shipping schedule for each zone. It appears to still accept ranges of zipcodes if that's what you want, too.

 

 

Similar Threads

  1. v139h Zone shipping - Can I disable purchase of certain items based on a shipping zone?
    By gsh68 in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 7 Aug 2017, 07:05 PM
  2. Cloning the Zone Based Rates Shipping Module?
    By pe7er in forum Addon Shipping Modules
    Replies: 15
    Last Post: 11 Mar 2010, 01:23 PM
  3. Zone Based Shipping Module Question
    By guitarmanjoe76 in forum General Questions
    Replies: 1
    Last Post: 14 Sep 2008, 02:07 AM
  4. Zone shipping module help
    By abhishek77 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 13 May 2008, 10:17 PM
  5. Zone shipping module Help
    By oclairdelune in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 25 May 2007, 05:55 AM

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