Developer forum

Forum » Development » Most Viewed, Most Sold, Newest products in categories

Most Viewed, Most Sold, Newest products in categories


Reply
Hi DW's


If we wanted an area on the productcard where there were 3 sections,

most sold (in specific category or in whole shop)
most viewed (in specific category or in whole shop)
newest products (in specific category or in whole shop).


how would this be done?
Would it be possible to trawl a productlist from NAV, with most sold and newest?
But what about most viewed.(NAV couldnt do that).

And also divided into categories.

any suggestions would be appriciated.

Replies

 
Nicolai Høeg Pedersen
Reply
Take a look at this article:

http://engage.dynamicweb-cms.com/default.aspx?id=361&articleid=220

Getting the information from NAV would not be an easy task, but possible. Be aware of performance issues if you ask directly.

There is no statistics on most viewed, but you could easily log that by using a

Notifications.


http://engage.dynamicweb-cms.com/api/extensibility/?Dynamicweb~Dynamicweb.Notifications.eCommerce+Product~BeforeRender.html
eCommerce.Product.BeforeRender notification subscriber and log that information on a custom field on the product.
 
Reply
Hi Nicolai,

great, thanks.

I don't think we will update the 'most sold' more than once a day, so that could be a table from NAV.

thanks.
//Peter Bille

 

You must be logged in to post in the forum