Forums / Built-in Shipping and Payment Modules / Zone shipping character limit

Zone shipping character limit

Locked

Views: 3,180

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
24 Mar 2007, 6:35 AM
#1
heather88 avatar

heather88

New Zenner

Join Date:
Mar 2007
Posts:
35
Plugin Contributions:
0

Zone shipping character limit

Regarding configuring the Zones Shipping Module, the ZenCart main FAQ state that "there is a limit of 255 characters on each of the Zone Shipping Tables and Zone Countries. This can be changed in the database to suit your needs." Does anybody know HOW to change it in the database? What file to edit? I need to be able to accommodate approx. 280 characters. Please help... thanks!

24 Mar 2007, 8:30 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Zone shipping character limit

Add another zone if you need to...

INCLUDES/MODULES/SHIPPING/ZONES.PHP

Find the line that says:-

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

And where you see the "3", change it to the number of zones required.

... then, for example, make the shipping charges for zone 2 and zone 3 IDENTICAL. Put half the iso codes into zone 2 and the other half in zone 3.

20 years a Zencart User

24 Mar 2007, 1:40 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Zone shipping character limit

What version of Zen Cart are you running?

If you edit Zones and copy your current settings to NotePad to save them ... and uninstall and reinstall the Shipping Module do you now have a large textarea to enter the Zones in?

Are you trying to define all of the "rest" of the countries not previously defined?

In the current version of Zen Cart, you can use 00 as the Zone to reflect all of the remaining zones not previously defined ...

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!

25 Mar 2007, 1:10 AM
#4
heather88 avatar

heather88

New Zenner

Join Date:
Mar 2007
Posts:
35
Plugin Contributions:
0

Re: Zone shipping character limit

Thank you Linda, I have version 1.3.7. Actually my problem is not with defining the countries, it's with defining the shipping costs, i.e. the weight categories. The 255 character limit only allows me to define weight increments up to about 30kg, but I need to be able to go higher. Sorry I wasn't clear about that! Any help will be much appreciated.

25 Mar 2007, 1:14 AM
#5
heather88 avatar

heather88

New Zenner

Join Date:
Mar 2007
Posts:
35
Plugin Contributions:
0

Re: Zone shipping character limit

Thanks schoolboy! Your idea is excellent for accommodating more countries and I will definitely remember it if ever I need to do that.... but if I use this method for the weight, then I'll have a second category where the lowest weight conflicts with all the settings in the first category, wouldn't I? Arrgh.

25 Mar 2007, 1:14 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Zone shipping character limit

Try this ...

Save your settings that you have in Zone Rates shipping module to NotePad for each one you have set so far ...

Next, REMOVE the Zone Rates module ...

Then, INSTALL the Zone Rates module ...

Now go to CONFIGURE it ...

You should not have this limitation on the Zones or the Rates ...

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!

25 Mar 2007, 1:45 AM
#7
heather88 avatar

heather88

New Zenner

Join Date:
Mar 2007
Posts:
35
Plugin Contributions:
0

Re: Zone shipping character limit

Just tried it..... it works!!!! Thank you so much Linda!!!!!

25 Mar 2007, 2:01 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Zone shipping character limit

Had me wondering for a bit there ... knew that we fixed that puppy ... :cool:

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!

27 Mar 2007, 12:50 AM
#9
slon40 avatar

slon40

New Zenner

Join Date:
Nov 2005
Posts:
1
Plugin Contributions:
0

Re: Zone shipping character limit

I have another problem. I setup a zone for Ukraine - no problem. But I whant to intriduce two services of shipment - Air and Sea. So in zone 1 I created sea rates for UA (Ukraine) and in zone 2 Air rates for UA again. It does not work. At the point of checkout where customer picking the shipping method only the zone 1 calculation displayed. Apperantly I cannot use same country code (UA) in diffrent zones. The solution may be in the duplication of zone.php module and just renaming it. Any suggestion?

Thanks

27 Mar 2007, 2:31 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Zone shipping character limit

Cloning shipping modules is one method ...

Or, you might look into Multiple Zones Multiple Tables by dreamscape ... I believe that works with Zen Cart v1.3.7 ...

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!

30 Apr 2007, 7:32 AM
#11
eliseintaipei avatar

eliseintaipei

New Zenner

Join Date:
Apr 2007
Location:
in Taipei, of course
Posts:
29
Plugin Contributions:
0

Re: Zone shipping character limit

Ajeh:

Try this ...

Save your settings that you have in Zone Rates shipping module to NotePad for each one you have set so far ...

Next, REMOVE the Zone Rates module ...

Then, INSTALL the Zone Rates module ...

Now go to CONFIGURE it ...

You should not have this limitation on the Zones or the Rates ...

It works!~~~~~~
The crucial part is really to Remove the module and Install it again. I had been scratching my head because I did edit the number of zones in the zones.php file, but to no avail!
Now it works fine!
Thanks a lot Ajeh! :clap:

1 May 2007, 3:20 AM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Zone shipping character limit

You are most welcome ... thanks for the update that you were able to get your additional zones to show by simply uninstalling and reinstalling the Zone Rate zone module after making the change to the number of zones that you needed ...

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!