Hi,
Thanks for reaching out to us. Please try the below snippet.
Note: You can place the below code at your child theme’s functions.php or snippet using the Code Snippets plugin
if( class_exists('PVTFW_TABLE' )){
function pvt_adp_price_condition( $price_html, $single_variation ){
return $single_variation->get_price_html();
}
add_filter( 'pvtfw_price_html', 'pvt_adp_price_condition', 10, 2 );
}
Then check if it resolves your issue or not.
Hi.
Thanks for the answer. It did not worked.
Once I add the code in the function.php, the subtotal field in the table changed to €NaN abd the price in the table stayed as it was with no wholeseale discount.
Hi,
If your wholesale plugin didn’t customize the get_price_html() function the above snippet should work.
Which plugin you are using for wholesale functionality?
Hope to hear from you soon!
Thanks
I wrote the plugin I am using in the first post.
I tested this plugin with the wholesale plugin from woolentor
Thanks
Any news on this?
This is the plugin https://el.ww.wp.xz.cn/plugins/whols/
Thanks
Hi,
Sorry for the late response. We have released a new version 1.4.1.
Please update the plugin and check if this version resolves your issue or not.
Thanks for your patience.
Hi,
I have tested both plugins from my side and then found everything is working.
Please check this screencast. Please let me know your thought.
Thanks
It seems that it is working just fine in your end.
So I will contact the whols support cause I have the pro version and have created more than 1 wholesale group. That must be the conflict.
Thank you for all your efforts