Forums / Built-in Shipping and Payment Modules / Question about creating multiple copies of the Zone Rate Module

Question about creating multiple copies of the Zone Rate Module

Locked

Views: 1,062

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
11 Jan 2010, 7:27 PM
#1
lockerroom avatar

lockerroom

New Zenner

Join Date:
Sep 2009
Posts:
35
Plugin Contributions:
0

Question about creating multiple copies of the Zone Rate Module

Hi guys,

I want to offer two rates for the same zones at my store, a 'ground' rate and an 'express' rate, the easiest way for me to do this is to create two instances of the zone rate module on my server and set up the two different prices.

I keep on getting this error in the admin section

Warning: include(/home/locker/public_html/catalog/includes/languages/english/modules/shipping/zonesrate.php) [function.include]: failed to open stream: No such file or directory in /home/locker/public_html/catalog/admin/modules.php on line 173

Warning: include() [function.include]: Failed opening '/home/locker/public_html/catalog/includes/languages/english/modules/shipping/zonesrate.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/locker/public_html/catalog/admin/modules.php on line 173

Fatal error: Cannot redeclare class zones in /home/locker/public_html/catalog/includes/modules/shipping/zonesrate.php on line 95

In addition, I'm wondering if when I can create a second zone shipping module how I can change the text from'shipping to (country)' to 'ground shipipng to (country)'

Thanks

3 Feb 2010, 6:41 PM
#2
mylildarlings avatar

mylildarlings

New Zenner

Join Date:
Oct 2008
Posts:
21
Plugin Contributions:
0

Re: Question about creating multiple copies of the Zone Rate Module

I'm not sure if you've found a solution yet since it's been a few weeks.

I'm not much of a programmer and really have no idea what those errors mean. But when I first opened my ZC store I cloned the zone rate file for "standard" and "express". I did it by comparing the "Table Rate Clone" addon and noticed that certain variables were different for each clone. Could that be an issue for you? LMK if you'd like to see my clone.

Also, the text can be modified in the
includes/languages/english/modules/shipping/zonesrate.php
where it says,
define('MODULE_SHIPPING_ZONES_TEXT_WAY', {{{Change text here}}}
You can change that to whatever you want.