• Hello!

    You are the alone plugin that offer me every what i want…
    But i’ve a problem with him, i know you have already purpose a solution for that, but she doesn’t work for me.

    Actually, I use a template with a hover image when we use gallery option for products.

    But when i active my custom badge created with your plugin, the hover are disabled.
    I have copy and paste your code below :

    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' );
        }
    }

    But nothing…

    My “sales” default badge, are below this class :

    <figure class="product_thumbnail thb_hover">
    		<span class="badge onsale">Soldes</span>

    and he’s work correctly.

    How i can solve this problem ? It’s very problematic.

    Thx in advance,
    Kinds

    • This topic was modified 5 years, 6 months ago by anadarius.

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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hover disabled with active Badges’ is closed to new replies.