Product order

Locked

Views: 1,128

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
12 Jun 2006, 1:49 PM
#1
scubasteve avatar

scubasteve

New Zenner

Join Date:
Oct 2005
Posts:
54
Plugin Contributions:
0

Product order

Is there a way to have product showing zero for stock level to show at the end of the products for a particular category. I would like all the in stock products to show before a customer gets to the out of stock. I still want them to be able to order something out of stock. I just don't want to out of stock items to get premium spot on the page. Sorry if there is a switch for this one I haven't been able to find it.

Thank you,
Neil

12 Jun 2006, 3:33 PM
#2
sanguisdesign avatar

sanguisdesign

Inactive

Join Date:
May 2005
Location:
Western MA, USA
Posts:
588
Plugin Contributions:
1

Re: Product order

on first glance I would say that you have find the sql query that loads the product sort order query and modify the ORDER BY to include product stock as a factor, the hard part is you would have to make stock your primary order by setting.
you may have to reconjigger the php to get rid of the options, that are set in the the admin.
An even better idea that I had while writhing this would just be to add an option in the admn section and in the code and to upload it to the downloads section as a contib to the wonderful world of ZC.
if I had more time I would get in the how to more then methodology, sorry but I hope this helps

JOsh:blush:

JOsh Beauregard
Sanguis Development