Support » Plugin: YITH WooCommerce Badge Management » NEW! appears on product page but not in catalogue with products

  • Hi,
    First 4 products are new. I have added a new badge saying NEW!. If I click on the product, I am able to see the badge, however I want the NEW! badge to appear on the shop page, so that people can see which products are new at a glance. I couldn’t find how to do that.



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

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


    Hi there,

    thanks for contact us!
    You can try to add this code at the end of functions.php file located in the main root of your 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 me know if works!

    great ! was looking for a solution and now it works.
    The only problem is that the product image scale is different in my category page and the badges look too bit ( I am using image as a badge)

    • This reply was modified 2 months, 2 weeks ago by mojo2405.
    Plugin Author YITHEMES


    Hi there,
    where i can see the problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.