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)
-   -   Sort products by Quantity available (https://forum.x-cart.com/showthread.php?t=60000)

Thomastoes 06-29-2011 06:33 PM

Sort products by Quantity available
 
hello,
Im trying to add a new sort option to the admin section. i would like to be able to show in stock items at the top of the list.

i found someones mod for 4.1.x but i am running 4.4.2.

Thomastoes 07-01-2011 10:05 AM

Re: Sort products by Quantity available
 
i got the quantity sort to work! :D/
the only thing now is trying to make it the default sort option... could anyone help me there?

i need to add it to the admin section (general setting/appearance) so i can select it from the drop down menu.

so if anyone is reading this, do you think i need an SQL file for that?

please help! :D

Thomastoes 07-01-2011 01:16 PM

Re: Sort products by Quantity available
 
well i got it. this is the thread i used. i couldnt get the SQL to work, and i figured it was out dated because the codes they show are slightly different than what are in the .php files on xcart 4.4.2.

long story short, this one works for 4.4.x. you just have to change some of the coding.

http://forum.x-cart.com/showthread.php?t=26847


All times are GMT -8. The time now is 08:23 AM.

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