Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Reset weight in an attribute

Reset weight in an attribute

Locked

Views: 1,105

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
30 Jun 2007, 5:26 AM
#1
mshultise avatar

mshultise

Zen Follower

Join Date:
Feb 2005
Location:
Captain Cook, Hawaii
Posts:
172
Plugin Contributions:
0

Reset weight in an attribute

I need help setting a product weight to zero based upon an attribute. I tried talking the cart owner into a different solution, but this is how they want the product listed. Cart is 1.3.7 version.

Coffee

Option: Package Size
½ pound $15.00 prefix weight=.5
1 pound $28.00 prefix weight=1
5 pound $140.00 prefix weight=5

That is all working. However, now she wants to add an option for delivery. I believe the owner will use the Delivery Schedule as a flag on the order. However, if someone orders weekly or monthly, they get free shipping.

Option: Delivery Schedule
Once << shipping weight above is valid and charged based upon table rate >>
Weekly << free shipping >>
Monthly << free shipping >>

I thought there was a trick to reset the product weight with a multiply by 0 or a set to zero from another attribute. Since the weight in the first option is variable, I can't just subtract the appropriate amount, I have to zero out the weight.

So what I want to know is how (if possible) to adjust the product weight and set it to 0 (for free shipping) if someone chooses other than the ONCE delivery schedule.

5 Jul 2007, 9:04 PM
#2
mshultise avatar

mshultise

Zen Follower

Join Date:
Feb 2005
Location:
Captain Cook, Hawaii
Posts:
172
Plugin Contributions:
0

Re: Reset weight in an attribute

Any ideas anyone?

I have it all working except the free shipping if a one-time purchase.

5 Jul 2007, 11:49 PM
#3
brucecode avatar

brucecode

New Zenner

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

Re: Reset weight in an attribute

Hi mshultise,

I don't have an answer for you, but I am also working on a Zen Cart for someone selling coffee (in Australia, not Hawaii).

I was hoping that you'd post a link so that I could have a look at your cart.

Thanks,

Bruce