Overriding other gift categories
-
I just found your plugin and so far I am finding it really easy to use. So much functionality in a free plugin is truly awesome!
I am wondering though if you can help with the following:
I currently have the following gift categories set up.
Category 1: Offers a free product if the cart total meets a minimum dollar value. The cart can contain any product, quantity, price.
Category 2: Offers a different free product if the product category is X, the actual products in that product category are A, B, or C, the minimum price of the item within these criteria is Y, and the minimum number of those items added to the cart is Z. The cart total may or may not meet the conditions in category 1.
Category 3: Offers the same free product as category 2, with a slightly different combination of product category, item, price, number of items, etc. And again the cart total may or may not meet the conditions in category 1.
What I would like to do is:
If Category 2 or Category 3 criteria is met, then Category 1 does not apply and its free gift does not display in the cart.
If Category 2 and Category 3 items are placed in the cart in the same customer order, then only one free product is offered (since they are the same free product).
Is this possible, and if so could you please provide some guidance on how to set it up. Even if it requires some custom code to go in to the functions.php or in the cart or other template.
I know I can put some notes in the cart instructing the buyer to select only one free item, and I can manually delete those that add more than one free item when processing the order, but I would like a cleaner way if at all possible.
Finally, could you please tell me what the field name is for the gift category description so I can try to add it in to my template.
Thanks.
Deborah
- The topic ‘Overriding other gift categories’ is closed to new replies.