Total Posts:
4
Karma:
20
Joined:
7/12/2016
Location:
China
In category page,how can add a new sort,"by sales".Can display the best sales products of this category.
Total Posts:
4
Karma:
20
Joined:
7/12/2016
Location:
China
I am not a developer, where should I start? Modify *.cshtml or modify the source code?
Total Posts:
11377
Karma:
101447
Joined:
5/22/2011
Location:
United States
Source code. Although it may be possible to do in .cshtml, it would require good knowledge of C# anyway to do the Linq query. Consider workaround: Write a SQL UPDATE that sets the Product's DisplayOrder field. (It would need to be run periodically)