|
Web Falcon |
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.
Activity Newest / Oldest
Greg
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
Jack Richardson
Status changed to: In progress