• sindhuphp

    (@sindhuphp)


    shop page(products page ) not showing badge but its showing single image(addtocart page). I need products pages also plz help me to fix. i am using estore theme.

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there,
    and thank you for writing in!

    Please try adding the following code snippet to your theme functions.php:

    if ( !function_exists( 'yith_wcbm_estore_badge_container_start' ) && !function_exists( 'yith_wcbm_estore_badge_container_end' ) ) {
        add_action( 'woocommerce_before_shop_loop_item_title', 'yith_wcbm_estore_badge_container_start', 9 );
        add_action( 'woocommerce_before_shop_loop_item_title', 'yith_wcbm_estore_badge_container_end', 20 );
        function yith_wcbm_estore_badge_container_start() {
            do_action( 'yith_wcbm_theme_badge_container_start' );
        }
    
        function yith_wcbm_estore_badge_container_end() {
            do_action( 'yith_wcbm_theme_badge_container_end' );
        }
    }

    Please try this solution and let us know if everything works fine!

    Best Regards

    • This reply was modified 6 years, 11 months ago by YITHEMES.
Viewing 1 replies (of 1 total)
  • The topic ‘badge not showing eStore Theme’ is closed to new replies.