If this is your first visit, check our documentation. To post, register or login.
Forums / Basic Configuration / Hiding Out of Stock Items in Admin Catalog

Hiding Out of Stock Items in Admin Catalog

Locked

Started by getengelby on 11 May 2009, 11:29 PM · Views: 1,825

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
11 May 2009, 11:29 PM
#1
getengelby avatar

getengelby

New Zenner

Join Date:
May 2009
Posts:
3
Plugin Contributions:
0

Hiding Out of Stock Items in Admin Catalog

Hello, I am looking to hide products in my Admin catalog when the item is sold out.

It is already working properly that it does not show up in my store when the item is sold out, but it would be nice if there was a way to toggle hiding and showing the sold out items in the admin side.

I would like to keep them in my catalog just in case I get more of that item in stock again, however, as more and more things sell out, it is getting cumbersome looking through what all is available. I know I can sort by what is in stock / alphabetical, but thought I would ask if there is just a way to hide and then show the items again at a later time.

12 May 2009, 2:59 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Hiding Out of Stock Items in Admin Catalog

You could customize the SELECT statements in:
/admin/includes/modules/category_product_listing.php

for the $products_query_raw to not include Products where products_quantity <= 0 or where products_status = 0 ... depending on how you have these products marked ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

30 Aug 2009, 2:35 PM
#3
jcun45 avatar

jcun45

New Zenner

Join Date:
Feb 2006
Location:
Amsterdam
Posts:
73
Plugin Contributions:
0

Re: Hiding Out of Stock Items in Admin Catalog

Hi, I have a similar problem, is it possible to give a little more detail on how to change the code? This would be very helpful.

Cheers,
Jeff

Cracked Kettle Amsterdam: Supporting the Independent Brewer, Wine Producer and Distiller.

3 Sep 2009, 3:15 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Hiding Out of Stock Items in Admin Catalog

You would really need to be more specific on what you need as this is a very old question referring to both the Admin and Catalog and there are a lot of things involved that differ between the two ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Mar 2010, 4:25 AM
#5
gonewild avatar

gonewild

Zen Follower

Join Date:
Apr 2005
Posts:
145
Plugin Contributions:
0

Re: Hiding Out of Stock Items in Admin Catalog

Based on this thread question....

How would we hide all the "sold out" products in admin.
Our product lists contain large blocks of unique items that may never be back in stock.
It would be convenient to have these hidden so they do not appear on lists like when trying to select products (for example) for "specials".
When looking at the list of products to select for a special there are all the out of stock products in the list making it cumbersome to select available products.
So it would be nice if they could be made inactive but not deleted permanently.

If the "sold out" products are deleted how would that effect reports like "sales"?