BUG? Inconsistent Terminology: Popular means 2 diff things

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

BUG? Inconsistent Terminology: Popular means 2 diff things

Post by ZLA » Sat May 16, 2009 10:03 am

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.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

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

Post by mazhar » Tue May 19, 2009 3:27 am

Thanks, I created an enhancement to synchronize this
http://bugs.ablecommerce.com/show_bug.cgi?id=8052

ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

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

Post by ZLA » Tue May 19, 2009 7:11 am

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.

rpb3
Lieutenant (LT)
Lieutenant (LT)
Posts: 60
Joined: Fri Jan 23, 2009 11:20 am

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

Post by rpb3 » Tue Aug 11, 2009 10:17 am

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.

Post Reply