X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Product listing & displaying in 3.[1]4.4 (https://forum.x-cart.com/showthread.php?t=4386)

bicom 09-17-2003 10:30 AM

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

B00MER 09-19-2003 06:27 AM

:arrow: http://www.cartlab.net/lab/catalog/product_3_Product_Sort.html

Why not just let your customers sort themselves? ;)

bluecat 11-12-2003 05:48 AM

I have to say, we shouldn't pay extra for this.

Kanyon71 11-12-2003 08:48 AM

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.

bluecat 11-13-2003 10:34 AM

Thanks Kanyon, I'll look around. :)

nfc5382 01-06-2004 04:37 PM

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.