WooCommerce New Product Badge
Not working (6 posts)

  1. Kalyan Brata Das
    Posted 2 years ago #


    Thanks for this nice plugin. But, somehow it's not working on one of my sites. I am using Styleshop theme from Elegant Themes where wooCommerce is integrated with the theme. No 'New' flashes show up on any page under any product even though I have tried setting up multiple days on the catalog tab under settings. Please resolve this.



  2. joint77
    Posted 1 year ago #

    Hi thanks for plug in.

    I'va same problem with Virtue Theme :(

  3. miansimon
    Posted 1 year ago #

    I'm using Virtue Theme, isnt works too. Have you find any solution??

  4. RuddyFromPortugal
    Posted 1 year ago #

    Hello all,
    had same issue here on Virtue theme.
    long story short, the action that the plugin relies is commented on Virtue theme. you can find it simply on your theme \woocommerce\content-product.php
    search for //do_action( 'woocommerce_before_shop_loop_item_title' );

    when you uncomment it your page will look like scrabled eggs, so add the following css - customize it as you wish

    .wc-new-badge {
    background-color: #2D5C88;
    color: #FFFFFF;
    padding: 5px 10px;
    position: absolute;
    right: 0;
    top: 0;

    note - that action is probably commented for a reason. many plugins may actually use it. so it can be a bad idea to uncomment it. or a good one who knows.
    what i suggest is that you guys add your own action e.g. woocommerce_before_shop_loop_badge. will will also need to modify the plugin file new-badge.php around line 40 for
    add_action( 'woocommerce_before_shop_loop_badge', array( $this, 'woocommerce_show_product_loop_new_badge' ), 30 );

    good luck

  5. Computer Shop Online
    Posted 1 year ago #


    I Just installed this plugin on my working Woocommerce website on http://www.computershop-online.nl but, also on the Virtue theme. I adjusted what you said. And after that my whole woocommerce webshop was not working anymore! White screen! I have fixed it by deleting the plugin directory on my FTP.

    Just to let you know that the solution you have given can crash your complete website!

    With kind regards
    G.P.M. Meertens
    Computer Shop Online

  6. RuddyFromPortugal
    Posted 1 year ago #

    hello Computer Shop Online,

    bear in mind that the solution is not a copy paste process. you need a certain skill to be changing code or patching plugins.

    white screen usually means the changes you have done in the code files were not ok and the they have provided a fatal error. that can be from a simple typo, a bad comment, or the code above is not suited to your version of Virtue theme, a new version may ruin the above approach.

    In these cases you should look into your error log file and check the line of code that has the error and go from there on.
    check this reference:


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce New Product Badge
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.