Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Zone Rate Character Limit - Change in Database?

Zone Rate Character Limit - Change in Database?

Locked

Views: 1,270

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
15 Apr 2010, 2:43 AM
#1
panicrecords avatar

panicrecords

New Zenner

Join Date:
Apr 2010
Posts:
43
Plugin Contributions:
0

Zone Rate Character Limit - Change in Database?

In the tutorial, it says that I can change the character limit from 255 to whatever by doing this in the database.

To define my shipping weight with cost, I'm going to need so much more than 255 since I deal in ounces and not solid units (I know that it doesn't matter whether the unit is an oz, lb, kg, etc) and with those characters, I will only be able to give shipping prices for up to around 4 pounds only.

How do I make it so I can add more than 255 characters in the zone tables?

Thanks.

Timm

15 Apr 2010, 3:04 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Zone Rate Character Limit - Change in Database?

What version Zen Cart are you using?

Is this a clean install or an upgrade?

The 255 character limit was changed ions ago ...

15 Apr 2010, 3:09 AM
#3
panicrecords avatar

panicrecords

New Zenner

Join Date:
Apr 2010
Posts:
43
Plugin Contributions:
0

Re: Zone Rate Character Limit - Change in Database?

Zen Cart 1.3.8a
Patch: 1::
Database Patch Level: 1.3.8
v1.3.8 [2010-04-14 06:52:37] (Fresh Installation)
v1.3.8 [2010-04-14 06:52:37] (Fresh Installation)

I did the one click install with my hosting company Dreamhost

Installation was pretty simple, but now I'm facing small little problems. I am changing over from oscommerce to zen cart, I was able to use .35 to define 5oz in the zone shipping on oscommerce, zen cart is full units, so I'm trying to work with it.

I found zen_geo_zone and see that the varchar(255) is that where I would change the value? I tried it and it didn't seem to work.

Thanks for responding.

15 Apr 2010, 3:22 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Zone Rate Character Limit - Change in Database?

Zen Cart works in pounds ...

You would use decimals for ounces ...

1 ounce = 0.0625 pounds

5 ounces = 0.3125 pounds

There isn't a 255 character limit ... I am not sure if you have found old documentation or what it is that you think you are limited on ...

15 Apr 2010, 3:29 AM
#5
panicrecords avatar

panicrecords

New Zenner

Join Date:
Apr 2010
Posts:
43
Plugin Contributions:
0

Re: Zone Rate Character Limit - Change in Database?

yea, the internet is full of outdated information. Unfortunately, the only information that I could find on the subject, happened to be just that.

I tried the decimal thing, and it kept messing things up for me. I just tried it again, and uncannily, it works.

Thanks for helping me out and clear up the "limit on characters"

15 Apr 2010, 3:51 AM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Zone Rate Character Limit - Change in Database?

You are most welcome ... thanks for the update that you were able to get this working correctly the second time around ... :smile: