Forums / Addon Shipping Modules / Shipping cost to different states within a country

Shipping cost to different states within a country

Started by jbautista on 10 May 2011, 12:19 AM · Views: 1,520

Results 1 to 5 of 5
10 May 2011, 12:19 AM
#1
jbautista avatar

jbautista

New Zenner

Join Date:
May 2011
Posts:
6
Plugin Contributions:
0

Shipping cost to different states within a country

Hello, I am new to the ZentCart, I am using PHP Version 5.3.5. I already included some of my products and I was working on the shipping module. I notice there are 3 zones. I am going to use the zentcart in a country where there are 29 states. I was able to break them in 3 zones, to make things easier. For example. I set up the country US and includen on that country 29 zones. I dividen those 29 zones in the eastern part which I consider zone 1, then the central part to be zone 2 and the western part to be zone 3. I input all the cost for those 3 different zones by weight. And now when I want to do an estimate shipping cost to zone 3. It will always use zone 1. For example on the zone 1 I put on the field: "US, FL, MI,....." and on my third zone I put in: "US, CA, TX,..." it seems that it will take always the first zone.

Could someone please help.

Regards,

10 May 2011, 8:12 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Shipping cost to different states within a country

From your post you seem to have US in each??

You need to create the 3 zones such as eastern, central, west wit only the states in those zonesIn the ship module you specifiy the zone(s)

Zen-Venom Get Bitten

10 May 2011, 4:08 PM
#3
jbautista avatar

jbautista

New Zenner

Join Date:
May 2011
Posts:
6
Plugin Contributions:
0

Re: Shipping cost to different states within a country

Thank you Kobra for responding to my post. Here is the actual thing. Lets say that I customer from California wants to purchase something from me. On his account he has a California address and on my zonning California is on Zone 3. So when the shipping estimate calcualtes the cost, it will always go to zone 1 because all my states belown to the US Contry. If I don't include US on my zones, the shipping estimator will say that shipping is not available to that zone. Plus on the information that my customer fills out, I would preffer not to ask him if he is in the west, east or central part of the country, only the country he is in.

I do not know if this could be possible. Please advice.

10 May 2011, 8:18 PM
#4
kobra avatar

kobra

Black Belt

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

Re: Shipping cost to different states within a country

it will always go to zone 1 because all my states belown to the US Contry
That is what you need to change and create custom zones that have a selection of states
States in this case are similar to countrys in the tutorial

https://www.zen-cart.com/tutorials/index.php?article=69

Zen-Venom Get Bitten

10 May 2011, 10:32 PM
#5
jbautista avatar

jbautista

New Zenner

Join Date:
May 2011
Posts:
6
Plugin Contributions:
0

Re: Shipping cost to different states within a country

Thank you so much Kobra, I will start modifying my data.