Sales Page Shortcode
-
Hey,
I actually wondered if there’s an easy solution for my problem:
I want the customer to choose one product from a selection of discounted products, whenever he has 10 or more orders. The discounted products are all grouped into one category, so it’s easy changeable. I initially had the idea to extend the cart template by your sale shortcode. This would lead to an overview of products, the customer could choose from, directly on the cart page.
However, I only want the products to be displayed, if this rule matches. Right now it’s displaying all the items in the category, no matter if there’s a discount on them or not. I also checked the code and couldn’t find anything relating to that.
Did I do something wrong? Is there an easy way to programmatically find out if a certain rule is valid for the cart, if yes I would just create my own shortcode.
Best regards & thanks
The topic ‘Sales Page Shortcode’ is closed to new replies.