Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2010
    Location
    crewe
    Posts
    41
    Plugin Contributions
    0

    Default Zone Rate duplication

    Hi, I am trying to duplicate zone rate module because I need different rates for one of the categories. I have a nice if statement that is doing the trick for table rates so I think it is not an issue in this case as well. The thing that is worrying me is that when I am trying to duplicate the module and do it accordingly to instructions from:

    http://www.zen-cart.com/forum/showthread.php?t=69665

    Zen-Cart doesn't even find the duplicated module. I mean it is not displayed and the whole menu on the right (with "install/remove" etc options) is gone. Can anyone tell me what is my mistake?
    Thanks in advance :)

  2. #2
    Join Date
    Sep 2010
    Location
    crewe
    Posts
    41
    Plugin Contributions
    0

    Default Re: Zone Rate duplication

    Ok, I just made a very dumb mistake- I forgot to change class name etc. in the zones2.php.

  3. #3
    Join Date
    Sep 2010
    Location
    crewe
    Posts
    41
    Plugin Contributions
    0

    Default Re: Zone Rate duplication

    Sorry for spam but I have another problem This time I get :
    "1062 Duplicate entry 'MODULE_SHIPPING_ZONES2_COUNTRIES_1' for key 'unq_config_key_zen'
    in:
    [insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Zone 1 Countries', 'MODULE_SHIPPING_ZONES2_COUNTRIES_1', 'US,CA', 'Comma separated list of two character ISO country codes that are part of Zone 1.
    Set as 00 to indicate all two character ISO country codes that are not specifically defined.', '6', '0', 'zen_cfg_textarea(', now())]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields."

    I don't know what caused the error as I am doing everything just the same way as when it comes to duplicating any of the shipping modules and I never got this kind of communicate before.
    Regards

 

 

Similar Threads

  1. v138a zone table rate - adding 3rd zone gives warning
    By rajoo.sharma in forum Addon Shipping Modules
    Replies: 3
    Last Post: 13 Jul 2013, 02:55 PM
  2. Zone shipping charging rate from zone 3 to zone 1
    By John Zwikstra in forum Built-in Shipping and Payment Modules
    Replies: 21
    Last Post: 28 Dec 2009, 01:10 PM
  3. What's the difference between Zone Definitions and Zone Rate Shipping?
    By Sevenhelmets in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 30 Nov 2009, 05:25 PM
  4. Zone shipping charging rate from zone 3 to zone 1
    By John Zwikstra in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 6 Aug 2009, 04:32 PM
  5. Custom Zone Definitions, ISO Code, and the Zone Rate Module
    By coffeefan in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 16 Jul 2009, 10:47 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