5 replies [Last post]
LoveGolf's picture
Offline
Joined: 10/16/2008
Juice: 106
Was this information Helpful?

I am almost done with my site, and I will be done when this last issue is resolved. I was hoping someone could shed some light on the best way to get this done.

On a website selling Gummy Bears, there are 4 attributes.

  • Small
  • Medium
  • Large
  • Sample

If the customer chooses the sample size, how would I get rid of the $3 flat-rate shipping fee I have assigned?

Thanks for anybodies help. I've been playing with Workflow-NG, searching the forums, etc.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: If product order contains a specified attribute option, offe

Hmm... there's actually a condition for this in the 2.0 version for CA. If you're code savvy, you might be able to backport that...

LoveGolf's picture
Offline
Joined: 10/16/2008
Juice: 106
Re: Re: If product order contains a specified attribute option,

Glad you mentioned that, as I forgot to mention this is for a Ubercart version 1 site.

I'm average with code, but would be willing to sponsor/co-sponsor this to get it done.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: If product order contains a specified attribute opti

Hmm... it should be a small job... I'm flying out to DC tomorrow morning or I'd jump on it right now. I'll bookmark this and get back to you if I can tackle it during the week unless someone gets to it first.

LoveGolf's picture
Offline
Joined: 10/16/2008
Juice: 106
Re: Re: Re: Re: If product order contains a specified attribute

I really appreciate that Ryan. I believe our new site will be one the bigger sites using UberCart and we are very excited. If you'd like a link, feel free to PM me.

I considered using the price adjustment field for each product, and making the number a negative value but it will not work because I'm already doing that for the "sample" attribute.

LoveGolf's picture
Offline
Joined: 10/16/2008
Juice: 106
Re: Re: Re: Re: Re: If product order contains a specified attrib

Okay,I managed to get this done by using Workflow-NG and some custom code. I only got it too work because every product on my site is over $20, except for samples. Therefore, I reverse engineered the "Free Shipping over $x" method. Thanks Ryan!