8THEME8
8THEME
May 11

Improvement of the label 'New'

I would like to request an improvement for a feature regarding the label 'New.' Currently, this label is applied based on the last update or modification date of a product. However, I would like to have the option to display the label 'New' based on the product's original publish date. This is important because when old products are updated, I do not want them to show this label. Could you please enhance this feature to allow us to choose that the 'New' label is applied based only on the published date of products? Thank you.
ProgressIn Progress

May 11, 2026

Hello @Greg, Thank you for reaching out to us. Please read this article – https://www.8theme.com/documentation/xstore/xstore-features/… (https://www.8theme.com/documentation/xstore/xstore-features/…) The New Label takes into account the “last update or modification date” of the product. To change this, custom code can be added in the functions.php file of the child theme: add_filter('product_new_label_on_date_created', '__return_true'); Best Regards, 8Theme’s Team

May 11, 2026

What I did to solve this was edit the woocommerce/content-product.php template. Remove: $postdate = apply_filters('product_new_label_on_date_created', false) ? get_the_date( 'Y-m-d', $product_id ) : get_the_date( 'Y-m-d', $product_id );" Then add: $postdate = get_the_date( 'Y-m-d', $product_id ); Hopefully that helps