zfoley Posted February 19, 2004 Posted February 19, 2004 I am using the Quantity discount module to apply discounts for customers who buy more than one item at a time. However, the shop owner also sells items which are never discounted: tickets to shows and workshops. However the module applies the discount to the total purchase price, and bases it on the total number of items. I need a way to exclude these items. I have configured them as having a weight of zero so no shipping is charged, I think this could also be used as an identifier to create a $discount_items numberwhcih indicates the number of items in the cart that DO take the discount, and lso a $discount_subtotal which is the portion of the order subtotal to which the dicount will be applied. Basically, if the item has no wieght, it is excluded from the discount. Unfortunately, I am new to PHP and having trouble getting this to work. Please help. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.