Limit time for product labels

21.05.2011 08:47
#1
Onofrei
Joomshopping forum user no avatar
Name: Mihai-Codrut
06.03.2011
Posts: 55
Quote
Limit time for product labels

It may be useful to have the ability to define a timeframe for the product labels. I add a new product, I assign a "NEW" label to it, I want the "NEW" label to be displayed for 1 week (or any other timeframe I choose) next to the product. After the preset timeframe, the product would be already old, so I won't have to hunt it down through the product list in order to remove its "NEW" label.
Can it be done?

 
09.06.2011 22:12
#2
mopete23
Joomshopping forum user no avatar
Name: Mopete
17.01.2011
Posts: 9
Quote
Aw: Limit time for product labels

very good idea^^
i want it also.
Regards
Simon

 
13.06.2012 13:50
#3
diastasi
Joomshopping forum user no avatar
Name: diastasi
19.10.2011
Posts: 34
Quote
Aw: Limit time for product labels

I think this would be nice.
Maube by using something like
if ((time() - strtotime($product_creation_date)) < (14 * 86400))
that I used in Virtuemart


Joomla: 2.5
JoomShopping: 3
 
Copyrights MAXXmarketing GmbH. All Rights Reserved