• I have installed the free version and the badge works great in the shop page. But it does not work on the single product page / product image.

    I am using a codex theme, is there any css/php known to get this working?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Facundo Arano

    (@aranofacundo)

    Hi there,

    In order to check what is happening, please send us the link to the product page and/or theme, so that we can try to replicate the issue and find a solution.

    Thanks for your cooperation

    Thread Starter ooge

    (@ooge)

    Plugin Support Alessio Torrisi

    (@alessio91)

    Hi there,

    do you use Elementor to build your single product page? Did you apply a custom layout through it?

    Thread Starter ooge

    (@ooge)

    I believe so. As it uses a product slider. It is using a “thegem” template

    Plugin Support Iván Sosa

    (@ivansosa)

    Hi there,

    try to add this custom code in the functions.php file of your current theme:

    if ( !function_exists( 'yith_wcbm_customization_badge_container_start' ) && !function_exists( 'yith_wcbm_customization_badge_container_end' ) ) {
       add_action( 'woocommerce_before_single_product_summary', 'yith_wcbm_customization_badge_container_start', 15 );
       add_action( 'woocommerce_before_single_product_summary', 'yith_wcbm_customization_badge_container_end', 25 );
    
       function yith_wcbm_customization_badge_container_start() {
           do_action( 'yith_wcbm_theme_badge_container_start' );
       }
    
       function yith_wcbm_customization_badge_container_end() {
           do_action( 'yith_wcbm_theme_badge_container_end' );
       }
    }

    Let us know if that worked.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘not showing on single product page image’ is closed to new replies.