hey
Honestly I’ve never tested this plugin, it is mentioned in the faq based on the reports from the users who say it works.
Could you describe what is your scenario and current output and desired output? If you describe me step by step how to replicate your setup and configuration, I will test it and debug and – if this will be possible – provide a solution
Hi,
scenario is simple. When discount price plugin is used to apply discount, this doesn’t get noted in WC price history plugin. Desired output is of course to get it noted in your plugin, and also shown on site.
Discount plugin uses apply_filters to change price, you can get it in PHP for example with below code.
$sale_price_WC_discount = apply_filters(‘advanced_woo_discount_rules_get_product_discount_price’, $product->get_price(), $product);
Hello, any reply/fix for this?
I am not familiar with this plugin so could you give me the steps to set the discount rules? I have installed it but I can’t find where to configure the rules. Please help me to speed up the troubleshooting so I will be able focus on coding. I am sorry but I am lone developer here working on a free plugin, so sometimes I need an assitance 🙂
This is one of more popular discount plugins on woocommerce. It is very good even in free version.
https://ww.wp.xz.cn/plugins/woo-discount-rules/
Here is documentation with examples: https://docs.flycart.org/en/collections/806883-discount-rules-for-woocommerce
I think that main point that in segment that you check for disocunt price, you should also check if price is discounted with discount plugin. It actually doesn’t change product prices.
You can check if price is changed with PHP code:
$sale_price_WC_discount = apply_filters(‘advanced_woo_discount_rules_get_product_discount_price’, $product->get_price(), $product)
It is explained with more examples in docs here: https://docs.flycart.org/en/articles/7907342-developer-documentation
I hope this helps and you can make changes so it is compatible with discount plugin.
Thank you for your time, your plugin is quite good and I hope you will manage to make it even better.