Will someone please direct me to the source code file (3.60) for editing the product sort options list?
I want to remove "position" and "created on" and re-order the other options so it is "high to low" - "low to high" - "A to Z" - "Z to A".
Similar to the post here, https://www.nopcommerce.com/boards/t/31049/allow-store-owner-to-decide-the-product-sorting-options-available-per-category.aspx, but for 3.6 the filepath is a bit different.
Could you give me a filepath for "PrepareSortingOptions"? I don't see it in the catalog controller (I am using 3.60). The only file I have found which has anything related to sorting is nop\views\catalog\_CatalogSelectors. It has the following code:
I am not editing this in Visual Studio. I am editing the files using notepad++ directly on the server.
My site, Nop, has the following folders; Administration, App_Data, Bin, Content, Plugins, Scripts, Themes, Views, and contains the ErrorPage, favicon, FileNotFound, Global, license, and Web files.
Searching for the file, returns no results. Is there any reason why that file is not accessible?
Hi. What version of nopCommerce do you use? In the 3.80 you don't need to change the code, go to the catalog settings and configure an order of sorting options by changing display order.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.