This topic has 6 replies, 2 voices, and was last updated 1 years, 4 months ago ago by Rose Tyler
Hi,
I was trying to make that the NEW badge does not appear on products that have been just updated and are not new, but I can’t see where to modify it. As far as I could check, the New Label takes into account the “last update or modification date” of the product. Do you have a workaround to achieve that it appears only on new (not modified) products?
Hello, Inesita,
Thank you for getting in touch with us.
The New Label takes into account the “last update or modification date” of the product.
You can disable this label via Theme Options >> WooCommerce >> Shop Elements >> Product badges.
If you want to change the functionality of this label, you can send a request to our dev team here – https://www.8theme.com/taskboard/
Kind Regards,
8theme team
Hi Rose thanks for your prompt reply asalways!
I was trying to find a workaround and use the “featured” or hot badbe instead.
Is there a way to modify the text from “HOT” to “NOU” somewhere?
Thanks,
Hello, Inesita,
Please try to use code from this topic – https://www.8theme.com/topic/xstore-badges-new-label-range-limit-does-not-work/#post-342723
Kind Regards,
8theme team
Hi Rose,
please can you advice as to how to add this code to the child theme (that I don’t have)
Thanks,
Inés
Hello, Inesita,
As we can see, the child theme is already installed on your site, so you just need to add the next code:
add_filter('product_new_label_on_date_created', '__return_true');
in functions.php via FTP.
Read more about child theme here – https://developer.wordpress.org/themes/advanced-topics/child-themes/
Kind Regards,
8theme team
Tagged: product, templates, woocommerce, wordpress
The issue related to '‘MAking that the product badge NEW displays only on new products, not on modified ones’' has been successfully resolved, and the topic is now closed for further responses