simonwebtim
Forum Replies Created
-
Forum: Plugins
In reply to: [WC Price History] Discount rules plugin not workingThis 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.
- This reply was modified 9 months ago by simonwebtim.
Forum: Plugins
In reply to: [WC Price History] Discount rules plugin not workingHello, any reply/fix for this?
Forum: Plugins
In reply to: [WC Price History] Discount rules plugin not workingHi,
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);Forum: Plugins
In reply to: [YITH Request a Quote for WooCommerce] Liste speed cache disable workingHello, now I have to pages with same problem. When cache is on, plugin doesn’t work ok.
Any hint how to fix this. I saw I can enable cookie exemption, but then cache isn’t working as you say in your documentation and again that didn’t solve the problem.
Forum: Plugins
In reply to: [YITH Request a Quote for WooCommerce] Liste speed cache disable workingHello, do you have any other suggestion to fix this issue
Forum: Plugins
In reply to: [YITH Request a Quote for WooCommerce] Liste speed cache disable workingYes, I did exclude it.