Developer forum

Forum » CMS - Standard features » Date and time filter for ecom productlist

Date and time filter for ecom productlist

Hans Ravnsfjall
Reply

Hi

I have a productlist, that has a Date and Time field. Is it possible somehow, withour really hairy code - to show only the products where the current date and time is before the date and time value of the product? This can easily be done in item publisher, but is there a clever way to do this in product list publishing?

regards, Hans


Replies

 
Kristian Kirkholt
Reply

Hi Hans

Maybe you could use the Ecommerce Smart-Search to filter your custom Product Data field. And setup your Product Catalog to show products from your Smart-Search.

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 
Hans Ravnsfjall
Reply

Hi Kristian

 

perfect, I can use the Smart Search to filter the products in eCommerce. But how do i set up the catalogue, to only show these products?

 

regards, Hans

 
Kristian Kirkholt
Reply

Hi Hans

In the Product Catalog you can choose to output the content of the Smart Search.

Pretty Smart :)

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 
Hans Ravnsfjall
Reply

Ok, perfekt - got it :)

instead of attaching a product group, or groups - you attach smart search :)

Is there also a way to make the smart search filter inherit into group, if you eg. use the ecom navigation menu?

regards, Hans

 
Kristian Kirkholt
Reply

Hi Hans

No Sorry thats not an option (yet)

The eCom navigation menu does not include Smart Search

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 
Nicolai Høeg Pedersen
Reply

You can however do that if you are using the new index...

 

You must be logged in to post in the forum