Reverse default product display order in 4.0.13
Back in xcart 3.5, the admin contained an option to reverse the default display order of products. Now in xcart 4.+ we have options to sort products by SKU, Name, and Price, but have lost the ability to reverse the default listing direction (unless I'm mistaken). To do this in 4.+, you have to make one small change under the hood.
In /products.php look for Code:
if(!isset($sort_direction)) and change this to Code:
if(!isset($sort_direction)) Note that this will only reverse the default display order on product listings on category pages - not in search results or in the admin. This was done in xcart 4.0.13 |
keep in mind
Keep in mind that you can still go into the categories menu and list out the products in a category and order them by hand as well...I think a lot of people have lost that because it was moved from the search results page...
Cheers ;o) |
Thanks for the tip! I wondered where custom product sorting had gone.
|
It should be done at search.php file
|
All times are GMT -8. The time now is 04:26 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.