Forums / Templates, Stylesheets, Page Layout / Hide Out of Stock Products

Hide Out of Stock Products

Locked

Views: 1,312

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
10 Feb 2010, 4:35 AM
#1
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Hide Out of Stock Products

How can I hide any item that is out of stock so it doesnt show in the product pages?

10 Feb 2010, 4:42 AM
#2
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Hide Out of Stock Products

ryanb4614:

How can I hide any item that is out of stock so it doesnt show in the product pages?

admin->catalog->categories/products
Click the green button under status so that it goes red
From status-enabled to status-disabled.

If you have stock tracking enable you can have this happen automagically as well

10 Feb 2010, 2:44 PM
#3
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Hide Out of Stock Products

gilby:

admin->catalog->categories/products
Click the green button under status so that it goes red
From status-enabled to status-disabled.

If you have stock tracking enable you can have this happen automagically as well

I was aware of disabling the product that it wouldn't sahre but I need this to do it automatically I have 3000+ products. Where do the "stock tracking" I cannot seem to find that option

10 Feb 2010, 3:11 PM
#4
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Hide Out of Stock Products

I have found a fix hopefully there would be a way for it to do it automatically but as a temp fix I just run this in Tools>SQL after each update:

UPDATE products SET products_status = 1 WHERE products_quantity >= 1;
UPDATE products SET products_status = 0 WHERE products_quantity <= 0;

I update everything using a csv file.