![]() |
"New Product" Tag
Hi,
I am trying to create a little tag that will show on new products - eg products added less that 30 days ago - but i am having problems finding the right {if} code, can anybody help? Here is a little demo of what i would like it to eventually look like: http://i40.tinypic.com/kls1h.gif Cheers, Carl |
Re: "New Product" Tag
Code:
{if $smarty.now-$product.add_date<30*24*60*60 && $smarty.now-$product.add_date>0}New product{/if} |
Re: "New Product" Tag
Thanks a million victor!! :D
|
All times are GMT -8. The time now is 03:54 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.