Hi….
How can I exclude a specific product/category from the best sellers list? Could you explain for more detail? Maybe with screen shoot
Thank you!
Hi there,
this feature is not present in this version of the plugin.
I already read that. But i don’t understand how to put in at my website. Could you explain more? Or send a screen shoot.
add_filter( ‘yith_wcbs_remove_best_seller’, ‘yith_wcbs_remove_best_seller’, 10, 3 );
if( ! function_exists( ‘yith_wcbs_remove_best_seller’ ) ){
function yith_wcbs_remove_best_seller( $remove, $product, $bs_product ){
if( $product instanceof WC_Product ){
$product_ids_to_remove = array( 15, 75, 321 );
if( in_array( $product->get_id(), $product_ids_to_remove ) ){
$remove = true;
}
}
return $remove;
}
}
Thx
Halim Ivan
Hi Ivan,
for any issue or question concerning the premium version of the plugin, please, write to our support service at yithemes.com/my-account, otherwise it could be misleading for other users here on wordpress.org. Don’t worry, our support developers will certainly help you solve the issue you are experiencing.