- 3
Hello!
My task is to make a custom sorting for products. (I want out-of-stock products to be shown in the end of products list, regardless to the selected sorting method).
I've realised it for both StoredProcedure (ProductLoadAllPaged) and in the code (Nop.Services.Catalog.ProductService.SearchProducts). But it turns out that the theme uses separate sorting mechanism! I suppose that has been done for filters, coz filters and sorting are in the same entity.
But how can I archive my goal then? You are not providing any source codes!
Thanx in advance!
My task is to make a custom sorting for products. (I want out-of-stock products to be shown in the end of products list, regardless to the selected sorting method).
I've realised it for both StoredProcedure (ProductLoadAllPaged) and in the code (Nop.Services.Catalog.ProductService.SearchProducts). But it turns out that the theme uses separate sorting mechanism! I suppose that has been done for filters, coz filters and sorting are in the same entity.
But how can I archive my goal then? You are not providing any source codes!
Thanx in advance!