Forums / Built-in Shipping and Payment Modules / Domestic shipping only- by Categories/Products?

Domestic shipping only- by Categories/Products?

Locked

Views: 757

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
2 Nov 2007, 4:44 PM
#1
ahicks51 avatar

ahicks51

New Zenner

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

Domestic shipping only- by Categories/Products?

One of my product categories involves live plants, so they can't ship outside the US without lots of permits and other hassles.

I can't find a way to prevent customers from having those products shipped internationally while allowing them to buy from other product categories.

Any help?

4 Nov 2007, 12:49 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Domestic shipping only- by Categories/Products?

What distinguishes these products? Are they always in a particular Category?

If so, does this mean that they always have the same master_categories_id in the products table?

If so, then you could write a function to see if any product in the shopping cart is from that master_categories_id and if there is one, either flag the Shopping Cart that the order cannot be sent internationally and prevent the order from getting past the checkout_shipping so that if I am in France I can still send the order to the US ...

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!