Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Your Zen Cart Products / Setting Up Categories, Products, Attributes / Item disappear after out of stock in certain catagory only

Item disappear after out of stock in certain catagory only

Locked

Started by kevnj on 6 Jun 2007, 10:21 PM · Views: 1,091

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
6 Jun 2007, 10:21 PM
#1
kevnj avatar

kevnj

New Zenner

Join Date:
Jun 2006
Posts:
60
Plugin Contributions:
0

Post #1 by kevnj

Is it possible to make out of stock items in only a certain catagory disappear from the list of items ? I have a "preorder" section, they are marked by the persons name, after they purchase the item, it turns to "out of stock" I would like it to disappear from the "preoder" catagory. So no one else can see it. Currently I am going into the products listing in the admin section and turning that item "off". Just thought there may be a feature Im missing that would do this automatically.

7 Jun 2007, 3:38 AM
#2
ajeh avatar

ajeh

Oba-san

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

Post #2 by ajeh

You could customize the order class around lines 693 to 718 to behave differently and look at the product master_categories_id and if that is the categories_id for these pre-ordered you can move to another categories_id and/or set the products_status to 0 so that it goes out of inventory ...

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!