keat Posted April 28, 2022 Share Posted April 28, 2022 Popularity can be based on sales or views. In the inventory table is a field for popularity. Is this field based on sales or views ?? So which ever one it's based on, where does cubecrt then pull the opposite statistic. eg, if this is views, where does it pull sales popularity from or visa versa Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 28, 2022 Share Posted April 28, 2022 The column 'popularity' is used to show 'views' of the product's details page. 'Sales' is calculated by summing the quantity column from all the rows in CubeCart_order_inventory that are of the product. Quote Link to comment Share on other sites More sharing options...
keat Posted May 3, 2022 Author Share Posted May 3, 2022 I was considering thats how it may work. Thanks for the clrification. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.