Page 1 of 1

BUG? Inconsistent Terminology: Popular means 2 diff things

Posted: Sat May 16, 2009 10:03 am
by ZLA
The Popular Products Grid uses ProductDataSource.GetPopularProducts to get it's list of products. If you look on the admin side for Popular Products and for Top Products under Reports, you see that:
  • Popular Products is defined as Page Views (as determined by CommerceBuilder.Reporting.PageViewDataSource.GetViewsByProduct)
  • Top Products is defined as Highest Sales (as determined by CommerceBuilder.Reporting.ReportDataSource.GetSalesByProduct)
But if you examine the data returned from ProductDataSource.GetPopularProducts, it turns out you're getting the top sales products. Based on the admin definitions, you're getting the topproducts, not the popular products.

For me, this bug works to my advantage because I actually want the top products. So I don't have to code anything special. But this could be confusing or even problematic for other AC sites.

Please let me know if I'm wrong about this or not. Thanks.

Re: BUG? Inconsistent Terminology: Popular means 2 diff things

Posted: Tue May 19, 2009 3:27 am
by mazhar
Thanks, I created an enhancement to synchronize this
http://bugs.ablecommerce.com/show_bug.cgi?id=8052

Re: BUG? Inconsistent Terminology: Popular means 2 diff things

Posted: Tue May 19, 2009 7:11 am
by ZLA
By the way, the comments at the top of Popular Products Grid does say it returns the top sellers. So the comments are correct even if the name is confusing. Thanks Mazhar.

Re: BUG? Inconsistent Terminology: Popular means 2 diff things

Posted: Tue Aug 11, 2009 10:17 am
by rpb3
Do you know what timeframe is used to select the popular and/or top seller data? Particular the GetViewsByProduct? It seems to change from day to day but I can't tell for what period.