• Is this plugin suppose to work with Flatsome as I cant seem to get the badges to show?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • 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!

Viewing 1 replies (of 1 total)

The topic ‘Flatsome theme compatible?’ is closed to new replies.