
03-04-2017, 07:28 AM
|
 |
Junior Member
|
|
Join Date: Dec 2012
Posts: 1
|
|
How setup categories hidden or visible depending on specified time/date
For I have bunch of categories which is calendar days "sun 19 feb" , "tue 20 feb" etc.
Each category has they own products. So when customer want to buy products from cat. "mon 19 feb" he can do that not after this date.
I can actually understand the logic. But don't know how to write down the script.
Example:
$categorydate1 - 02/19/2017
$date - 04/03/2017 (actual date)
if ($date<$categorydate1) then
div.ecwid-productBrowser-categoryPath {
display:none;
}
|