5 replies [Last post]
cfbauer's picture
Offline
Joined: 07/27/2010
Juice: 12
Was this information Helpful?

I set the subject for my question as succinct as possible, so that about sums things up. Smiling

I have a website of photos, each with a size attribute. If a user orders more than one product, I'm looking for a way to quote shipping based on only the largest. So if a user orders an 8x12 photo and a 48x24 photo they're only charged for shipping on the 48x24.

There are three groups of photo sizes:

8x10, 8x12, 11x14, 12 x 18 are $3
16x20, 20x30 are $5
36x18, 48x24 are $10

I thought about using product classes, but I can't seem to find a way to set product classes based on attributes.

I should note that I'm not a developer, but can copy and paste php if necessary, Sticking out tongue.

Thanks for reading.

Cheers,
-Chris

cfbauer's picture
Offline
Joined: 07/27/2010
Juice: 12
Re: If more than one product is purchased, provide shipping quot

I suppose the heart of my question is how product attributes affect shipping prices, if at all. I can't find a way for attribute settings to change shipping charges using the flat rate method. Any help would be appreciated.

Thanks.

TwistedLincoln's picture
Offline
Joined: 04/06/2008
Juice: 128
Re: Re: If more than one product is purchased, provide shipping

I had a similar issue. My solution was to use conditional actions -- you can specify a shipping rate be displayed only when a product with a certain attribute is in the cart -- or show a shipping method always, unless certain attributes are in the cart.

---------------------------
Twisted Lincoln, Inc.
www.twistedlincoln.com/shop

cfbauer's picture
Offline
Joined: 07/27/2010
Juice: 12
Re: Re: Re: If more than one product is purchased, provide shipp

Thanks for the reply. I did take a look at conditional actions, but I'm unable to control much when there are more than one product with different attributes in the cart.

The logic available is: if a product with X attribute is in the cart, then charge Z shipping price.

However I can't seem to control what to do if one product with X and another product with Y attribute are in the cart. It wants to give the user the option if paying Z OR Q price, not Z+Q or Z-Q, only Z, etc.

ryanschmidt's picture
Offline
Joined: 11/17/2008
Juice: 235
Re: Re: Re: Re: If more than one product is purchased, provide s

Did you ever find a solution for this? I am looking to accomplish the same thing. I see what you mean about the Conditional Action just changing the price of the entire cart's shipping fee. I would like to apply the shipping fee to the individual product that the attribute is associated with, just like you.

Thanks

cfbauer's picture
Offline
Joined: 07/27/2010
Juice: 12
Re: Re: Re: Re: Re: If more than one product is purchased, provi

Sorry Ryan, never figured it out. We put a call out for help with our local Drupal users group, and were quoted something like 5 hours at $120 / hour to get this done. We left that decision up to the client who decided it wasn't worth it.