Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / restrict shipping certain products to certain states?

restrict shipping certain products to certain states?

Views: 2,108

Results 1 to 3 of 3
28 Mar 2007, 4:20 AM
#1
airtime avatar

airtime

New Zenner

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

restrict shipping certain products to certain states?

I have a customer that is shipping gift baskets. Some of the gift baskets contain wine, and the wine baskets can not be shipped to 7 us states. How can I restrict the wine products from being shipped to those 7 states.
thanks....Airtime

28 Mar 2007, 4:30 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: restrict shipping certain products to certain states?

You would need to add a flag of some sort to the products table or build a new database for the limited shipping products which indicate where the products cannot ship ...

Then, have a function which tests the products in the cart against either the flag or the new database for if they are in the list of no nos for shipping and if they are then it says sorry ... cannot ship to where ever the customer is shipping ...

The trick is to have this work on the shipping page so a bottle that cannot be shipped to california can be purchased by someone in california but shipping is stopped until the shipping address is changed to allow shipment ...

This gets a little sticky ... :eek:

You may wish to really think this out to break this down and make sure all loop holes are covered and you may need to hire someone to write the slick code described ... :smartass:

18 Jan 2011, 4:11 AM
#3
ikernbecauseicare avatar

ikernbecauseicare

New Zenner

Join Date:
Aug 2010
Posts:
52
Plugin Contributions:
0

Re: restrict shipping certain products to certain states?

Does anyone know of any mods that will do this?