Tổng Bài đăng:
4
Karma:
20
Đã tham gia:
12/07/2016
Vị trí:
China
In category page,how can add a new sort,"by sales".Can display the best sales products of this category.
Tổng Bài đăng:
4
Karma:
20
Đã tham gia:
12/07/2016
Vị trí:
China
I am not a developer, where should I start? Modify *.cshtml or modify the source code?
Tổng Bài đăng:
11404
Karma:
101662
Đã tham gia:
22/05/2011
Vị trí:
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)