Thread: Zone Rates

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Feb 2023
    Location
    Spain
    Posts
    26
    Plugin Contributions
    0

    Default Zone Rates

    https://www.tecnikit.com/catalog/ind...ain_page=index
    Version: 1.5.8
    MySQL 8

    If I am not mistaken, Zone Rates creates a confusion with the rates by ZONES.

    From what I see, the module rates by ZONES are actually rates by COUNTRY GROUPS. Ok, zones at all.

    But in ZENCART, ZONES are provinces or regions of each country. Thus, if one creates SUBZONES to indicate different taxes or rates, cannot be used in these rates.

    I need different taxes/ shipping prices both by groups of countries ( could be use the module ZONE RATES ), but in a specific case, by regions ( REAL ZENCHART ZONES ) of the same country.

    I tried to create SUBZONES as groups of ZENCART ZONES / ZENCART COUNTRIES. But this is the problem. Can't be called from the module ZONE RATES.

    How can I structure this ?

    Thank you.
    Last edited by JPVV; 16 Mar 2023 at 04:41 AM.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,704
    Plugin Contributions
    123

    Default Re: Zone Rates

    You are correct that the built-in Zones shipping module is based on countries, not regions within countries.

    Check the Zone Rates Clone plugin and see if that meets your needs.
    https://www.zen-cart.com/downloads.php?do=file&id=977
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Feb 2023
    Location
    Spain
    Posts
    26
    Plugin Contributions
    0

    Default Re: Zone Rates

    Quote Originally Posted by swguy View Post
    You are correct that the built-in Zones shipping module is based on countries, not regions within countries.

    Check the Zone Rates Clone plugin and see if that meets your needs.
    https://www.zen-cart.com/downloads.php?do=file&id=977
    Thanks for answering so quickly.

    I incremented yesterday the NUMZONE in the ZONE RATES module, to add more groups of countries as the transport company uses. This is perfect for group the countries as their rates.

    If I am following right the flow, the CLONE ZONE RATES would add more groups of countries what not solve the problem of regions only of 1 country.

    This is... what could solve the problem is to clone the TABLE RATE for different groups of regions of same country. Not to clone ZONE RATES that adds more options only for countries, not for regions.

    As example, the TAX RATES does exactly with the taxes, what I need to do with the shipping rates. I can create groups of regions of 1 country, or groups of countries.

    If I'm not mistaken, is there another way ?
    Last edited by JPVV; 16 Mar 2023 at 05:56 PM.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,704
    Plugin Contributions
    123

    Default Re: Zone Rates

    The Zone Rates Clone goes down to the Zone Definition (Geo Zone) level. I think this will do what you want.

    a) Create a Zone Definition with the regions you want:
    https://docs.zen-cart.com/user/locat...e_definitions/

    b) Try the Zone Rates clone, and add those Zone Definitions.

    Then test carefully.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Feb 2023
    Location
    Spain
    Posts
    26
    Plugin Contributions
    0

    Default Re: Zone Rates

    I have the spanish module installed. I change in Admin to english.

    I installed the table rates clone and the right screen where the detail of the shipping modes was opened disappeared.

    I saw that the modules were installed when it was installed.

    No problem, I restore backup copies of the web and the database and everything is fine again.

    I first uninstall the modules zone rates and rate tables.

    I install again the zone tarif clone and then the same thing happens again. I see that I do not have the files in the directories indicated by the installation:

    "the files:
    /includes/modules/shipping/zones1.php
    /includes/modules/shipping/zones2.php
    /includes/modules/shipping/zones3.php
    /includes/modules/shipping/zones4.php
    /includes/modules/shipping/zones5.php

    and the files:
    /includes/languages/english/modules/shipping/zones1.php
    /includes/languages/english/modules/shipping/zones2.php
    /includes/languages/english/modules/shipping/zones3.php
    /includes/languages/english/modules/shipping/zones4.php
    /includes/languages/english/modules/shipping/zones5.php

    will be added to your files."


    I change to Admin in spanish. The detail block of the shipping methods appears again. But when I install the modules from there (in Spanish), I don't see any changes compared to the non-cloning mode.

    I reactivate the Admin in English and the detail part of the shipping methods disappears from the screen again.

    mysql 8
    Version 1.5.8

  6. #6
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,591
    Plugin Contributions
    30

    Default Re: Zone Rates

    I'm not really following what you are doing regarding shipping as I use Advanced Shipper for everything.

    But, if you are using the spanish language pack:
    1) Always use the version from GitHub and watch the repository to get notifications about bugs.
    2) When you add anything to your site that has additional /english language files, you must mirror the same files in /spanish. And you will have to convert them to utf-8 once you have an accented character in them.

    Please contribute your improvements!
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  7. #7
    Join Date
    Feb 2023
    Location
    Spain
    Posts
    26
    Plugin Contributions
    0

    Default Re: Zone Rates

    I can't find the ZONES ( regions of countries ) in the SQL database. In any case the rest are in UTF8.
    When I copy the updated english php files to the spanish directory, the effect then is that the faill happens in both languages. Not only in english:

    Name:  aa.jpg
Views: 215
Size:  18.8 KB

    Then I can't reinstall the zone modules.

  8. #8
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,591
    Plugin Contributions
    30

    Default Re: Zone Rates

    ...and no debug logs?
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  9. #9
    Join Date
    Feb 2023
    Location
    Spain
    Posts
    26
    Plugin Contributions
    0

    Default Re: Zone Rates

    Quote Originally Posted by torvista View Post
    ...and no debug logs?
    "modules.php","set=shipping&module=table&action=remove","0","","Accessed page [modules.php] with action=remove. Review page_parameters and postdata for details.","Array<br />

    "modules.php","action=removeconfirm&set=shipping","0","","Accessed page [modules.php] with action=removeconfirm. Review page_parameters and postdata for details.","stdClass Object<br />

    camefrom=modules.php&set=shipping&module=table","0","","Accessed page [login.php] with action=do2f19a4b2bb5060f55d1580a4fa45ebad. Review page_parameters and postdata for details.","stdClass Object<br />

    "camefrom=index.php","0","","Accessed page [login.php] with action=do41cbd91ee8018c74858aad176ef19f74. Review page_parameters and postdata for details.","stdClass Object


    Can be this ?
    Last edited by JPVV; 18 Mar 2023 at 09:53 PM.

  10. #10
    Join Date
    Feb 2023
    Location
    Spain
    Posts
    26
    Plugin Contributions
    0

    Default Re: Zone Rates

    I found the zones table.

    Reviewed tables countries, zones and zones to geo_zones. All status ok.

    I copy too the INCLUDE from the update to the ADMIN directory too. ( english and spanish ). No changes.
    Last edited by JPVV; 18 Mar 2023 at 10:07 PM.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Adding a zone in Zone Rates module
    By ampm11 in forum General Questions
    Replies: 2
    Last Post: 13 Dec 2010, 05:18 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. 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
  4. Zone rates
    By RobWUK in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 17 Apr 2008, 07:15 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR