Hi,
Kindly note that we are applying discount for the product after it is added to the cart.
Unfortunately, your requirement cannot be achieved using our plugin.
Thank you!
Hello!
I understand that, I’m suggesting a feature to improve. What I saw other competitive plugin do the following thing:
They add additional metadata item to the product when requested via the API. The metadata item is fake, this means it is not stored into the metadata db table, they just attach it on the fly using a hook in the api function. So you get a pair “blabla_discount_price” : “9.50”. This should be completely enough in order 3rd party software to integrate with your plugin and be able to use your rules engine without having to deal with the heavy lifting (calculating all the rules on their own). Currently what I have to do is extract the rules from the wp_options table and implement the rule engine in the custom software from scratch. If metadata item is present it could easily be used as flag and override the sale price of the product. For cart based discounts this will not work of course, there is no cart in the custom software either. But for product discount that’s very useful.
The reason I do not use the competitive plugin is the price, I cannot pay $70 monthly for simple category discount which we do once a month. Small stores simply cannot afford paying 5-10 pro plugins with monthly subscriptions.
If you are not interested in developing such feature I’ll understand and I’ll have to deal with my own custom implementation from scratch.
Best regards,
Vanyo
Hi @vankyy26 ,
Thank you for your thoughtful suggestion and for sharing your experience with our plugin. We truly appreciate the time and effort you’ve put into understanding how our product works and how it could be improved.
We understand the value of adding REST API hooks to retrieve all product and cart rules, and we are considering this feature for future versions. However, due to the complexity of our discount conditions—such as cart rules, user roles, and other dynamic factors—we are unable to pass discount prices as product metadata directly. This is because the discount calculations often depend on real-time factors that extend beyond static product data.
For now, as you mentioned, you can access discount data using the get_option function from the wp_options table, which provides a way to integrate with your custom software.
We are always looking to improve, and your feedback is invaluable. We’ll certainly keep your suggestion in mind as we continue to develop and enhance our plugin
Thank you!