Forums / Addon Shipping Modules / Need shipping module to limit shipping options based on category or product

Need shipping module to limit shipping options based on category or product

Locked

Views: 7,590

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
23 Nov 2009, 12:33 AM
#1
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

Need shipping module to limit shipping options based on category or product

I need to restrict the shipping options for specific categories. I have some items my supplier will only drop-ship by UPS with a drop ship fee. I have other products that can go by USPS or UPS.

How can I set all the products in the restricted category to only offer the UPS option while letting all the others in other categories have UPS OR USPS?

23 Nov 2009, 1:54 AM
#2
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

Re: Need shipping module to limit shipping options based on category or product

Is there a module that will restrict the shipping items by category? I have a supplier that will only ship UPS. All my others will do UPS or USPS. What can I use to set shipping for some items only to UPS and the others for UPS or USPS?

27 Nov 2009, 7:52 PM
#3
thebeveragegourmet avatar

thebeveragegourmet

Zen Follower

Join Date:
Nov 2006
Posts:
163
Plugin Contributions:
0

Re: Need shipping module to limit shipping options based on category or product

I'm in the same boat and don't know how to do it only my issue doesn't have to do with a drop shipper, it has to do with breakables. I won't ship glass bottles USPS because it's too difficult to deal with them over insurance


29 Nov 2009, 4:10 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Need shipping module to limit shipping options based on category or product

You can always add a new field to your products table and to the Admin add/edit so that you can mark Products that cannot go USPS and then this can be tested for in the shipping module and if 1 or more in the cart it can disable the USPS shipping module ...

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 Nov 2009, 8:18 PM
#5
dapottster avatar

dapottster

New Zenner

Join Date:
Jul 2009
Location:
Crystal Lake, IL
Posts:
50
Plugin Contributions:
0

Re: Need shipping module to limit shipping options based on category or product

I have the same issue, and I don't quite understand the solution. Ajeh, could you possibly explain more about what you're referring to.
Thanks,
Matt

1 Dec 2009, 1:16 AM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Need shipping module to limit shipping options based on category or product

You add a new field to the products table ...

You add access to that new field for adding/editing products ...

Then you test for whether or not Products are in the cart with that new field marked and if so, set the $this->enabled to false for the shipping module to stop it from showing ...

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!

7 Dec 2009, 7:17 PM
#7
colema avatar

colema

New Zenner

Join Date:
Dec 2009
Location:
California
Posts:
25
Plugin Contributions:
0

Re: Need shipping module to limit shipping options based on category or product

Hello.

I think this is a similar enough topic...but...

My company has three items in particular that cannot ship together. Other items can ship with these items and each other. Is there a code I can put in the php so that the shipping module will recognize they have to be shipped in separate boxes from one another?

Also, currently, two items are in one category and one item is in a category with other items. Would it make it easier if I moved that one item out of category with numerous items into either it's own category, or the category with the other two items?

I hope this isn't too confusing...

I look forward to your input!

Regards,

~Rachel
http://www.colema.com/store/retail

7 Dec 2009, 9:12 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: Need shipping module to limit shipping options based on category or product

Could you get a tad more specific as to why the 3 items cannot ship with other things?

Too big? Too small? Wet? Live? umm ... what makes them difficult problems and how do you ship these 3 Products?

How do you ship all of your other Products, except these 3 Products?

Is this something that could be calculated when the 3 Products might be in the order to "add on" to the calculations for shipping of all other Products? :unsure:

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!

7 Dec 2009, 10:34 PM
#9
colema avatar

colema

New Zenner

Join Date:
Dec 2009
Location:
California
Posts:
25
Plugin Contributions:
0

Re: Need shipping module to limit shipping options based on category or product

Two of the items are oversized packages (home enema board kits) - and they are dimensionally weighted for UPS and domestic Priority Mail, and because we can't seem to get USPS to read for dim weights, we currently only have Parcel Post enabled. They cannot share a box with each other.

The third item is a bucket - and is often ordered with the board kits, but will not fit in the boxes with them. All the rest of the items in our store are smaller and can be combined with these products in various ways - the bucket having the most limitations on what can be sent with it.

Currently we have a module installed that allows UPS to read the dims for the board kits, but it still doesn't register that they cannot be shipped together.

Is there any other information that would be helpful in solving this issue?

Thank you for your assistance!

Regards,
~Rachel
http://www.colema.com/store/retail

7 Dec 2009, 11:20 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: Need shipping module to limit shipping options based on category or product

I buy a regular Product ...

What should the shipping do?

I buy a a Kit ...

What should the shipping do?

I buy a regular Product and a Kit ...

What should the shipping do?

I buy a regular Product and 2 Kits ...

What should the shipping do?

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!

7 Dec 2009, 11:40 PM
#11
colema avatar

colema

New Zenner

Join Date:
Dec 2009
Location:
California
Posts:
25
Plugin Contributions:
0

Re: Need shipping module to limit shipping options based on category or product

Preferably products would go something like this:

1+ x Reg Prod = USPS, UPS (customer's choice - many may fit in a single package - light weight packages would go USPS Priority while heavier packages would go UPS Ground)

1 x Kit = UPS, USPS (customer's choice - but domestic shipping would preferably be UPS Ground, international is difficult because of the dims tho)

1 x Kit, 1 x Reg Prod = UPS, USPS (customer's choice - but domestic shipping would preferably be UPS Ground, international - again - is difficult because of dims - Reg Prod can fit in with Kit)

2 x Kits, 1 x Reg Prod = UPS, USPS (same as above - except each Kit has its own box and Reg Prod may go in with one of the Kits)

1 x Bucket, 1 x Kit = UPS, USPS (customer's choice - same as above - except Bucket and Kit cannot ship in a box together)


Reg Prods may ship, depending on what they are, weight, etc with the Bucket, Kits, or each other.

I hope that's helpful!!! :blink:

Regards,

~Rachel
http://www.colema.com/store/retail

8 Dec 2009, 1:28 AM
#12
ajeh avatar

ajeh

Oba-san

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

Re: Need shipping module to limit shipping options based on category or product

Are you really trying to get the UPS or USPS to know when to calculate the charges per Product rather than just by the weight for these Products?

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!

8 Dec 2009, 5:15 PM
#13
colema avatar

colema

New Zenner

Join Date:
Dec 2009
Location:
California
Posts:
25
Plugin Contributions:
0

Re: Need shipping module to limit shipping options based on category or product

We want the items to calculate by weight. However, three of the products cannot ship in a box together due to dimensional difficulties.

One of the three items (the bucket) may still be shipped by weight, but the other two items (the kits) get dimensionally weighted by UPS and USPS Priority Mail Domestic. And then, internationally, some countries cannot accept this the kit boxes because they are too large and we find alternate roots for the customer at that time.

8 Dec 2009, 7:22 PM
#14
ajeh avatar

ajeh

Oba-san

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

Re: Need shipping module to limit shipping options based on category or product

That gets more complicated ... you may want to post in the Commercial Help Wanted forum for this one ...

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!

8 Dec 2009, 8:29 PM
#15
colema avatar

colema

New Zenner

Join Date:
Dec 2009
Location:
California
Posts:
25
Plugin Contributions:
0

Re: Need shipping module to limit shipping options based on category or product

Oh...really? Shucks... Where/How would I do that?

9 Dec 2009, 12:19 AM
#16
ajeh avatar

ajeh

Oba-san

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

Re: Need shipping module to limit shipping options based on category or product

Go to the list of Forums by clicking on the Zen Cart Support link and browse down to the Commercial Help Wanted forum ...

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!

9 Dec 2009, 12:36 AM
#17
colema avatar

colema

New Zenner

Join Date:
Dec 2009
Location:
California
Posts:
25
Plugin Contributions:
0

Re: Need shipping module to limit shipping options based on category or product

Hmm...

I'm having another idea... How can I make it so that the Kit items cannot be shipped via USPS through the shopping cart? They are in a category on their own, and everything else should have the USPS option.

9 Dec 2009, 3:40 AM
#18
ajeh avatar

ajeh

Oba-san

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

Re: Need shipping module to limit shipping options based on category or product

What happens on a mixed cart? Does that mean still No USPS?

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!

9 Dec 2009, 5:07 PM
#19
colema avatar

colema

New Zenner

Join Date:
Dec 2009
Location:
California
Posts:
25
Plugin Contributions:
0

Re: Need shipping module to limit shipping options based on category or product

Well, at the moment, it could be unavailable - and we could just put a note on there that customers wishing to ship to Hawaii, Alaska, or Internationally should call for a quote. Which, we have a note like that anyway...

So, yes - at the moment it would be fine if the two kits never were able to go USPS.

9 Dec 2009, 7:32 PM
#20
ajeh avatar

ajeh

Oba-san

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

Re: Need shipping module to limit shipping options based on category or product

You can test if the cart contains products with something like:
$_SESSION['cart']->in_cart_check('products_id','XX')

where the products_id is XX ...

You can then compare the total count with:
$_SESSION['cart']->count_contents()

to see if the whole cart is just these two products ...

This would allow you to control the $this->enabled in the shipping modules to turn them off if 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!