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)
-   -   Removing "sort by: SKU" (https://forum.x-cart.com/showthread.php?t=11087)

g0t0pless 12-22-2004 09:12 PM

Removing "sort by: SKU"
 
I like the sort feature, but how do I remove the option to sort by SKU?

I'd also like to have price listed before product in the list.

g0t0pless 12-26-2004 07:32 PM

Anyone?

markwhoo 12-26-2004 11:23 PM

Re: Removing "sort by: SKU"
 
Quote:

Originally Posted by g0t0pless
I like the sort feature, but how do I remove the option to sort by SKU?

I'd also like to have price listed before product in the list.


Customer search.tpl in skin1 dir.

Should be the rigt place to start.

balinor 12-27-2004 08:24 AM

That is actually in Include/search.php. Just remove this line:

Code:

        "productcode"        => func_get_langvar_by_name("lbl_sku"),

As for moving the items, just re-order the list as you would like to see it.

g0t0pless 12-27-2004 11:43 AM

Excellent! I will try it tonight and see how it goes.

Thank you for listing the xact file and line I need to edit.

g0t0pless 12-27-2004 07:33 PM

Thanks man, worked like a charm. Excellent!

enchanted1 11-11-2005 05:01 PM

Quote:

Originally Posted by balinor
That is actually in Include/search.php. Just remove this line:

Code:

        "productcode"        => func_get_langvar_by_name("lbl_sku"),

As for moving the items, just re-order the list as you would like to see it.


Hi Padraic,

can you help me figure this out? I can't seem to find the directory/folder you are referring to (include/search.php). Where is the include directory?

or am i looking for the wrong thing?

Thanks,
rebecca
xcart gold 4.0

balinor 11-11-2005 05:06 PM

You can't get to it via the Admin area because it is not a template. You need to get in there via ftp, it is in the root directory of X-Cart.

enchanted1 11-11-2005 07:23 PM

Quote:

Originally Posted by balinor
You can't get to it via the Admin area because it is not a template. You need to get in there via ftp, it is in the root directory of X-Cart.



Thanks! It worked.

Rebecca

webdesignhelper 02-23-2006 07:17 AM

thanks - worked for me to :)


All times are GMT -8. The time now is 10:03 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.