This topic has 9 replies, 3 voices, and was last updated 6 years, 4 months ago ago by Olga Barlow
Hi I just Purchase the woo commerce dynamic Pricing plugin.it works fine but I have small issue when I apply discount it makes (sales label and sale price before and after sale is disable)in product category page (Product list) which it doesn’t show to my visitors the sale products.
Do you have any solution to fix this thanks.
Hello,
Please provide some screenshots for better understanding the problem. Also, let us know URL of page where we will be able to see the issue.
Regards
Please check the links thanks
Hello The plugin developer send me this to add it to function.php
add_action( ‘init’, ‘remove_on_sale_trigger’ );
function remove_on_sale_trigger() {
remove_action( ‘woocommerce_product_is_on_sale’, array(
WC_Dynamic_Pricing::instance(),
‘on_get_product_is_on_sale’
) );
}
add_filter( ‘wc_dynamic_pricing_flag_is_on_sale’, ‘filter_on_sale_trigger’ );
function filter_on_sale_trigger( $show ) {
return false;
}
Hello,
So, is the problem solved?
Regards
Not yet I have added the preview php script to function.php to child theme and still not working could you check please I removed it again thanks
Hello,
Provide us Dashboard and FTP access to check the problem.
Regards
Thank you
Note any change you make please do i child theme for any updates in future.
Hello,
We have enabled the default WooCommerce theme Storefront and don’t see any labels on the single product page http://prntscr.com/ka9249 or grid http://prntscr.com/ka92sc
So, the plugin works in this way even with the default WC theme, why should it work in a different way with our theme?
I think you need to contact plugin author, set correct settings and make it works with the default theme and then check if you have any issues with our theme after that.
Regards
You must be logged in to reply to this topic.Log in/Sign up