Page 1 of 1

modifying Top Sellers to exclude some items

Posted: Tue Nov 03, 2009 12:36 pm
by ksolito
We need to exclude a specific product from the Top Sellers box, ConLib:PopularProductsDialog, and would also like to limit it to products sold with in the last 30 days. We have some products that are basically sold in bulk and skew the Top Sellers content.

I assume the exclusion can be filtered in PopularProductsDialog.ascx.cs with :

Code: Select all

if (product.Sku == "<some SKU>")
I'm not sure of the best to apply the filter.

Also, any comments on the possibility of limiting the items to those sold in the last 30 days? I suspect that would complicate the code significantly.