Developer forum

Forum » CMS - Standard features » Publication period expired products being shown

Publication period expired products being shown

Emil Ryberg
Reply

Products that have their publication period expired are still shown in the shop. Is there a way to check in the Index if the publication period has expired?

There are some campaign fields with publish from and to in the Index, but it doesn't seem like there is a way to compare it to the current DateTime?


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Emil,
you could query the fields of type DateTime as it is explained here: http://doc.dynamicweb.com/forum?M=BasicForum&PID=1605&ThreadID=49102

Regards, Dmitrij

 
Nicolai Pedersen
Reply

Hi both

The DateTime.Now macro is part of the 8.9.1.0 release. So if you update, you will be able to create a query to handle it. See dump #1

BR Nicolai

Capture.PNG

 

You must be logged in to post in the forum