| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Finding the current time and doing some math in the templates | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
The new products mod is a neat one (and will be neater when I get it to work
-how can I call the current time? -how can I put together the math in the .tpl file? Is it as simple as $current_time - $Product.add_date < $specified_time in a logical statement? Thanks! Jeremy
__________________
Version 4.0.17/4.0.18 |
|||||||
|
#2
|
|||||||
|
|||||||
|
Quote:
...the above code is just an example |
|||||||
|
#3
|
|||||||
|
|||||||
|
Thanks! That's just what I was looking for!
Jeremy
__________________
Version 4.0.17/4.0.18 |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||