Support » Plugin: YITH WooCommerce Badge Management » Mouseover on Product Pages Pictures don’t work any more

  • Hello,

    i have a Problem. Since i use your Plugin on my Website the Mouseover Effect on the Product photos don’t work. It isn’t showing the Mouseover picture any more. On pages where the badges aren’t active the mouseover still works. How to fix that?

    Greetings and Thanks

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there,
    and thannk you for writing in!

    You could fix this issue by adding the following code snippet to your theme functions.php:

    if ( !function_exists( 'yith_wcbm_enfold_fix_badge_container_start' ) && !function_exists( 'yith_wcbm_enfold_fix_badge_container_end' ) ) {
        add_action( 'woocommerce_before_shop_loop_item_title', 'yith_wcbm_enfold_fix_badge_container_start', 9 );
        add_action( 'woocommerce_before_shop_loop_item_title', 'yith_wcbm_enfold_fix_badge_container_end', 11 );
        function yith_wcbm_enfold_fix_badge_container_start() {
            do_action( 'yith_wcbm_theme_badge_container_start' );
        }
    
        function yith_wcbm_enfold_fix_badge_container_end() {
            do_action( 'yith_wcbm_theme_badge_container_end' );
        }
    }

    Please try it and let us know if everything works fine!

    Best Regards

    Thank you for your answer.

    Sadly, it crashed the hompeage. Error on the first line of your script 🙁

    Greetings Jannis

    Plugin Author YITHEMES

    (@yithemes)

    Hi Jannis,
    we checked in our installation and the code we sent works fine!
    Please could you provide us with further information about the error?

    Best Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Mouseover on Product Pages Pictures don’t work any more’ is closed to new replies.