Product listing & displaying in 3.[1]4.4
:?: Is there a way to make products list in alphabetical order once a category is selected. I work with 3.[1]4.4 and the erlier code do not work
with my version of X-Cart. Regards Bengt |
:arrow: http://www.cartlab.net/lab/catalog/product_3_Product_Sort.html
Why not just let your customers sort themselves? ;) |
I have to say, we shouldn't pay extra for this.
|
Do a search and you will find the code to change the sort order to anything you want it to be. I don't have the link right off hand but search for Sort Order and you will find some threads on it.
|
Thanks Kanyon, I'll look around. :)
|
i did some research and was able to hardcode my sort by changing one line in func_search_products in include/func.php
change the following Code:
function func_search_products($query, $membership,$first=0,$count_all=-1,$get_all=0, $orderby="orderby") { to Code:
function func_search_products($query, $membership,$first=0,$count_all=-1,$get_all=0, $orderby="product") { replace "product" with whatever field you want to sort by. |
All times are GMT -8. The time now is 02:36 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.