Plugin Support
Vanesa
(@vanesarodriguez)
Hello there!
I hope you are well!
We can’t guarantee it will work propperly with external themes, as they can overwrite the default woocommerce structure our plugin needs.
However, you can try adding the following code in the functions.php archive of your active theme:
if(!function_exists('yith_wcbm_shop_badge_container_start') && !function_exists('yith_wcbm_shop_badge_container_end')){
add_action('woocommerce_before_shop_loop_item_title','yith_wcbm_shop_badge_container_start',9);
add_action('woocommerce_before_shop_loop_item_title','yith_wcbm_shop_badge_container_end',20);
function yith_wcbm_shop_badge_container_start(){
do_action('yith_wcbm_theme_badge_container_start');
}
function yith_wcbm_shop_badge_container_end(){
do_action('yith_wcbm_theme_badge_container_end');
}
}
Let us know if that helped!