The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-04-2017, 07:28 AM
Aleksandr Klemkin's Avatar
Aleksandr Klemkin Aleksandr Klemkin is offline
Junior Member
 
Join Date: Dec 2012
Posts: 1
Exclamation 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;
}
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Tags
categories, date, hidden categories

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:44 AM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.