Results 1 to 5 of 5
  1. #1
    Join Date
    May 2009
    Posts
    3
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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: v1.5.5]
    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!

  3. #3
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    74
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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: v1.5.5]
    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!

  5. #5
    Join Date
    Apr 2005
    Posts
    150
    Plugin Contributions
    0

    Default 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"?

 

 

Similar Threads

  1. Stock By Attributes allows out of stock items through checkout!
    By kazbryan in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Dec 2011, 05:41 PM
  2. Stock By Attributes allowing sale of out of stock items
    By kazbryan in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 15 Aug 2011, 01:21 PM
  3. Hiding products that R out of stock
    By amrami in forum Customization from the Admin
    Replies: 5
    Last Post: 3 Feb 2011, 05:31 PM
  4. Hiding Attributes when out of stock in that size
    By afterglow in forum Setting Up Categories, Products, Attributes
    Replies: 20
    Last Post: 8 Jul 2009, 05:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR