Page 1 of 2 12 LastLast
Results 1 to 10 of 43

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Posts
    130
    Plugin Contributions
    0

    Default Multiple Zone Rates Support Thread

    This is the support thread for the multiple zones mod I have just added having had lots of questions about how to do it.

    Any questions ask here and I'll do my best to answer.

  2. #2
    Join Date
    Jan 2009
    Posts
    130
    Plugin Contributions
    0

    Default Re: Multiple Zone Rates Support Thread

    File has been uploaded to the ZenCart Add On files but meanwhile its available on here for anyone that wants it.

    Enjoy!
    Attached Files Attached Files

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,665
    Plugin Contributions
    6

    Default Re: Multiple Zone Rates Support Thread

    You may wish to check the code ...

    Line 147 of each file needs to be changed to:
    Code:
          $dest_country = $order->delivery['country']['iso_code_2'];
    with the exception of zones_2.php as it is already set to this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  4. #4
    Join Date
    Aug 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: Multiple Zone Rates Support Thread

    Thanks totalsam for the files and everyone else who contributed, I got my zone rates to work with these files!

    Cheers

  5. #5
    Join Date
    Feb 2011
    Posts
    51
    Plugin Contributions
    0

    Default Re: Multiple Zone Rates Support Thread

    Hi Sam, I have implemented the multiple zone modification, the display show all the zones, may i know whether there is any solution for only display (bold) available zone rates, then hid the others (highlight dark red)?


    Shipping quotes are based on the address information you selected:
    Kuala Lumpur Malaysia
    Available Shipping Methods Rates
    Flat Rate 1-8pcs Only - East Malaysia (FREE! for Order RM150.00 above) RM6.00
    Store Pickup (Walk In) RM0.00

    Zone 1 Shipping Rates (No shipping available in Zone 1)
    Zone 2 Shipping Rates (No shipping available in Zone 2)
    Zone 3 Shipping Rates (No shipping available in Zone 3)
    Zone 4 Shipping Rates (No shipping available in Zone 4)
    Zone 5 Shipping Rates (No shipping available in Zone 5)

    AND

    Shipping quotes are based on the address information you selected:
    Brunei Darussalam
    Available Shipping Methods Rates
    Zone 1 Shipping Rates (Shipping To Brunei Darussalam) RM19.70
    Zone 2 Shipping Rates (No shipping available in Zone 2)
    Zone 3 Shipping Rates (No shipping available in Zone 3)
    Zone 4 Shipping Rates (No shipping available in Zone 4)
    Zone 5 Shipping Rates (No shipping available in Zone 5)

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,665
    Plugin Contributions
    6

    Default Re: Multiple Zone Rates Support Thread

    NOTE: because of how these are written ...

    If you install the standard Zone Rates zones shipping module and then install all of these ... then later REMOVE the Zone Rates zones shipping module ... ALL of these Zone Rates modules will be removed ...

    An option to avoid this would be to have used:
    zones2 vs zones_2
    ZONES2 vs ZONES_2
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  7. #7
    Join Date
    Jan 2009
    Posts
    130
    Plugin Contributions
    0

    Default Re: Multiple Zone Rates Support Thread

    Quote Originally Posted by Ajeh View Post
    NOTE: because of how these are written ...

    If you install the standard Zone Rates zones shipping module and then install all of these ... then later REMOVE the Zone Rates zones shipping module ... ALL of these Zone Rates modules will be removed ...

    An option to avoid this would be to have used:
    zones2 vs zones_2
    ZONES2 vs ZONES_2
    Oops thought I had checked for stray _2 but missed one! Also completely forgot about the whole _# file structure. I was trying to make it simpler to create more zones if needed rather than having to replace zones# and ZONES# but I can't see a sensible way round that at the moment. Maybe if I think about it I may have a better solution but for now I have reverted to removing the _.

    Here is an updated set of files, I'll put these into the Free add-ons once the original is up.

    Thanks Ajeh!
    Attached Files Attached Files

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,665
    Plugin Contributions
    6

    Default Re: Multiple Zone Rates Support Thread

    You forgot to rename the filenames in:
    /includes/modules/shipping

    to exclude the _ as well ... example:
    zones_2.php to zones2.php
    zones_3.php to zones3.php

    etc. etc. etc. ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  9. #9
    Join Date
    Jan 2009
    Posts
    130
    Plugin Contributions
    0

    Default Re: Multiple Zone Rates Support Thread



    corrected now
    Attached Files Attached Files

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,665
    Plugin Contributions
    6

    Default Re: Multiple Zone Rates Support Thread

    Ain't it fun writing contributions?!
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Shipping Rates in Cart [support thread]
    By Steven300 in forum Addon Shipping Modules
    Replies: 91
    Last Post: 14 Oct 2012, 01:34 PM
  2. Zone Rates, one country, two Islands, two rates.
    By scanhead in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 28 Mar 2010, 11:35 PM
  3. Multiple Shipping rates depending on zone and weight
    By buffy in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 18 Dec 2009, 03:08 PM
  4. Zone Rates and Flat Rates
    By busiherb in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 28 Sep 2009, 08:50 PM
  5. Zone Rates using Zone Code & Country ISO Codes?
    By dcmall in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 8 Aug 2007, 09:08 AM

Bookmarks

Posting Permissions

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