I have a custom-written product page and want to display a promo if a particular discount rule applies to the product in question. I need to do this by calling a PHP function from your plugin somehow. Can you help?
The discount rule has various exclusions so I want to query with a rule ID or something and get back true or false according to whether the discount rule applies to the supplied product ID.
- The topic ‘Can I query whether a product filter is applied programmatically?’ is closed to new replies.