modifying Top Sellers to exclude some items

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
ksolito
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 42
Joined: Tue Nov 25, 2008 3:16 pm

modifying Top Sellers to exclude some items

Post by ksolito » Tue Nov 03, 2009 12:36 pm

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.

Post Reply