Custom sortings on product

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Hello,

I am implementing some kind of sorting options for a nopCommerce project.

I think it would be a nice idea to add some more fields at product entity like:

- Total Sells
- Page Views
- Extra weight


What do you think ?

Thanks
7 years ago
Hi Vasilis,

Thanks!

vasilisf wrote:
Total Sells

You already can get number of sales of each products using IOrderReportService. If we add this property, then it can be definitely be used for sorting. But we'll also have add code to maintain it (it's better to avoid it)

vasilisf wrote:
Page Views

I've just created a work item

vasilisf wrote:
Extra weights

Could you please clarify? What is the difference between it and "Weight" which we already have
7 years ago
Hello,

Yes it's easy to take the total sales but indeed it needs to maintain it in every sale.

I think that we could add it as a field and have that functionality as a setting since it's a common requirement.

As for the extra weight field: We've been asked for some kind of sorting where the admin could give some kind of extra score (bonus) to some products in order to be displayed higher than others.

Thanks
Vasilis
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.