Quick question. Let's say that you have two categories of products: Category A and Category B.
You have a coupon which restricts Category A from being discounted, but it will work for Category B.
Right now, the way Zen Cart is setup, if you have a product that is linked to BOTH Category A and Category B, then the discount will be applied to the item because it exists in the whitelisted Category B.
Where would I look to tweak the code so that if ANY product is in Category A, regardless of what other categories it's in, I don't want the coupon to apply?
In other words, I have a hidden category called Non Discountable items which I put certain items in. However, these items may be a book or DVD, and I also want them linked to my non-hidden, visiable category of BOOKS or DVD's so that customers can browse them on our website by category. Since these items are linked to both categories (Books and Non Discountable Items), it's still allowing the discounts to be applied even though my coupon restricts the Non Discountable Item category, simply because the item exists in the discountable Books category as well. So I need to find what function to tweak so that if the item is found in ANY NON DISCOUNTABLE category, restricted by the coupon, that the discount will not apply.



