Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Dec 2008
    Posts
    81
    Plugin Contributions
    0

    Default Creating New Zones

    I need to set up different Table Rates for several different Zones. I think I've got cloning the Table Rate module covered. Now I need to set up multiple Zones.

    For example:

    Table Rate 1 - Continental U.S.
    Table Rate 2 - Alaska, Hawaii, Puerto Rico, APO, FPO
    Table Rate 3 - Canada

    I've tried setting up a new Zone for the entire U.S., but when finished, the Status is 'yellow', instead of 'green'. So, it appears that something isn't right.

    First, I created a new Zone called "United States" with a Zone Code of "US" and the Country set to "US".

    Then I created a new Zone Definition with a Zone Name of "US" and the Description of "United States".

    What did I do wrong?

    John

  2. #2
    Join Date
    Dec 2008
    Posts
    81
    Plugin Contributions
    0

    Default Re: Creating New Zones

    I think I figured out how to do this. My Status is still showing 'yellow', but I see now that this is because there is no tax set for these 'shipping' zones.

    But, I still need some help. I realize now that I need to set up Zones/Table Rates as follows:

    Table Rate 1 - Colorado, with Sales Tax
    Table Rate 2 - All U.S., except for Colorado, Alaska, Hawaii
    Table Rate 3 - Alaska, Hawaii, Puerto Rico, APO, FPO
    Table Rate 4 - Canada
    Table Rate 6 - All Other Countries

    What's the best (and hopefully easiest) way to set up the above Zones?

    John

  3. #3
    Join Date
    Dec 2008
    Posts
    81
    Plugin Contributions
    0

    Default Re: Creating New Zones

    I keep figuring out things myself...I guess that's good!

    Actually, I entered all of the countries, other than the U.S. and Canada, one by one, using the Admin interface. It was time consuming, but it worked.

    I do have something odd, though.

    I have one Zone - Colorado - setup with Sales Tax. So, the 'status' shows 'green' for that Zone on the Zone Definitions page.

    However, when I look at the Shipping page, the first four Table Rate modules are 'yellow' and the fifth Table Rate module is showing 'green'.

    What is causing this? At this point, all of the Table Rate modules are set up identically, using default values for each one.

    John

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Creating New Zones

    The Zone setting is showing the yellow icon as a warning/caution to alert you that there is a filter on the module ...
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Dec 2008
    Posts
    81
    Plugin Contributions
    0

    Default Re: Creating New Zones

    What do you mean by 'filter'?

    John

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Creating New Zones

    Setting a Zone is like setting a filter of who can use the module ...
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Dec 2008
    Posts
    81
    Plugin Contributions
    0

    Default Re: Creating New Zones

    Ok. I understand.

    Table Rate 1 is set for Colorado (with tax)
    Table Rate 2 is set for United States (Continental, less Colorado)
    Table Rate 3 is set for Alaska, Hawaii, Puerto Rico, APO, FPO
    Table Rate 4 is set for Canada
    Table Rate 5 is set for All Countries (less Canada and U.S.)

    Table Rates 1,2,3, and 4 are 'yellow', but Table Rate 5 is 'green'.

    Shouldn't Table Rate 5 also be 'yellow', since a Zone is set for that Table?

    John

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Creating New Zones

    hmmm ... one would think ...

    But I didn't write your shipping modules so I am not sure if there are other issues here ...

    Does your Table Rate 5 work?
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    Dec 2008
    Posts
    81
    Plugin Contributions
    0

    Default Re: Creating New Zones

    I don't know if any of them actually work, yet. I found part of the code the download section of this site, but I think all it is, is just clones of the original Table Rate files and I'm not sure that they're quite up-to-date with the latest version of Zen-Cart. So I think I'm going to delete them and 'do it myself'.

    If I understand correctly, I should just be able to 'clone' the the /includes/languages/English/modules/shipping/table.php file and the /includes/modules/shipping/table.php file, naming them something like table1.php, table2.php, etc., and making similar changes to all references of 'table' in each file (for example, this line "$this->title = MODULE_SHIPPING_TABLE_TEXT_TITLE;" in table.php would become "$this->title = MODULE_SHIPPING_TABLE2_TEXT_TITLE;" in table2.php.

    At least, that's what the code that I used has done. Does this sound like it's the correct way to set up multiple Table Rate shipping modules?

    John

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Creating New Zones

    Look in the Free Software Add Ons for:
    Zone Table

    And there is one called something like ZoneTables that lets you define your Zones and then when you Install the shipping module, it creates as many table settings as you have Zones defined ...

    Are you just wanting 1 shipping module per zone?
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Adding new postal zones
    By Colour Streams in forum Addon Shipping Modules
    Replies: 2
    Last Post: 23 Apr 2013, 09:55 AM
  2. Country Codes for Creating zones.
    By philip56 in forum General Questions
    Replies: 0
    Last Post: 13 Apr 2008, 10:07 PM
  3. creating new templates
    By sveetcouture in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 2 Jul 2006, 02:32 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