Zen Cart Logo
Forums / Customization from the Admin / Zone Rate Setup for 5 zones

Zone Rate Setup for 5 zones

Locked

Views: 3,738

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
29 Feb 2008, 6:44 AM
#1
wdh avatar

wdh

New Zenner

Join Date:
Oct 2007
Posts:
56
Plugin Contributions:
1

Zone Rate Setup for 5 zones

Hi,

I need to do setup for 5 different Zones shipping rate.

But in ZenCart i have found in Module>Shipping>Zone Rates> Only 3 zones there.

Any one please tell me if it is possible to do setup for 5 zones insteed of 3? if possible please tell me.

-Thanks,
WDH

29 Feb 2008, 7:19 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Zone Rate Setup for 5 zones

Grab a copy of the includes/modules/zones.php file and preserve this as this file is not overrideable.

Open a copy and find tis line towards the top
and set to 5

      // CUSTOMIZE THIS SETTING FOR THE NUMBER OF ZONES NEEDED
      $this->num_zones = 5;

Upload. and i the admin install it - remove first if you have to

29 Feb 2008, 7:29 AM
#3
wdh avatar

wdh

New Zenner

Join Date:
Oct 2007
Posts:
56
Plugin Contributions:
1

Re: Zone Rate Setup for 5 zones

Hi.. Thanks Kobra.. it is working ..

I have made that change previously.. but not did the uninstall and install.. .. just did that.. and it is working fine.. Thanks for your kind help.

-WDH

29 Feb 2008, 7:39 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Zone Rate Setup for 5 zones

but not did the uninstall and install
If you look towards the bottom of this gile you will see the install and un-install sql and why after making the change it must be re-installed

29 Feb 2008, 2:38 PM
#5
wdh avatar

wdh

New Zenner

Join Date:
Oct 2007
Posts:
56
Plugin Contributions:
1

Re: Zone Rate Setup for 5 zones

Hi,
Thanks, it is working now. Will you please tell me if i want the "product weight" to Kgs, then i changed into english.php . Ok.

But it is not showing in "estimate shipping" page. other pages it is ok. But in "estimate shipping" page it is still "lbs" i need it to change to kgs. Please note that other pages showing "kgs" but estimate shipping not showing this.

Please help me.

WDH

29 Feb 2008, 3:46 PM
#6
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Zone Rate Setup for 5 zones

I'm assuming you're using a custom template. Look in the following files where
YOUR_TEMPLATE is the custom template. The original content of those lines should include lbs or lb(s). The line numbers could be a tiny bit off, but should be close enough.

includes/languages/YOUR_TEMPLATE/english.php

Line #394 : define('TEXT_PRODUCT_WEIGHT_UNIT','kgs');

Line #397 : define('TEXT_SHIPPING_WEIGHT','kgs');

includes/languages/english/modules/shipping/YOUR_TEMPLATE/zones.php

Line #25 : define('MODULE_SHIPPING_ZONES_TEXT_UNITS', 'kg(s)');

29 Feb 2008, 6:30 PM
#7
wdh avatar

wdh

New Zenner

Join Date:
Oct 2007
Posts:
56
Plugin Contributions:
1

Re: Zone Rate Setup for 5 zones

Thanks afo (support team)

It is now working... Thanks a lots

-WDH

29 Feb 2008, 7:31 PM
#8
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Zone Rate Setup for 5 zones

Someone else asked me the same question because I use ounces (oz) on both sites in my sig, so I had the answer handy. :smile: