Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2009
    Posts
    368
    Plugin Contributions
    0

    Default Hide out of stock products from advanced search

    Hi ,

    I have configured Configuration/Stock/Products status in Catalog = 1 in order to keep old google links working .
    Is there an option to hide out-of-stock products from advanced search page ?

    thank you

  2. #2
    Join Date
    Aug 2009
    Posts
    368
    Plugin Contributions
    0

    Default Re: Hide out of stock products from advanced search

    I have found the solution on this forum .
    thx

  3. #3
    Join Date
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Re: Hide out of stock products from advanced search

    Quote Originally Posted by solo_400 View Post
    I have found the solution on this forum .
    thx
    Care to share where you found it?
    If I find it I'll post it here too, as this post comes up when searching for it.

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

    Default Re: Hide out of stock products from advanced search

    I could be mistaken ... but doesn't this one do what you are looking for?
    http://www.zen-cart.com/showthread.p...abling-product
    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
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Re: Hide out of stock products from advanced search

    Thank you.
    It works but not in the Previous/Next search. Still shows.
    I do use Ceon URI, so maybe that is the trouble? Could you confirm if it should be hidden regardless?

    I had found one thread that mentioned the same file, but to add:

    $alpha_sort .= " and p.products_quantity > 0 ";under all instances of where p.products_status = 1I've removed those as yours did the trick anyway thanks.

 

 

Similar Threads

  1. Replies: 16
    Last Post: 2 May 2014, 10:07 PM
  2. Replies: 0
    Last Post: 16 Nov 2012, 04:36 PM
  3. Show but hide out of stock products
    By gmrm in forum General Questions
    Replies: 2
    Last Post: 17 Apr 2011, 10:53 PM
  4. hide products out of stock
    By balihr in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 18 Jun 2010, 10:45 PM
  5. Hide Out of Stock Products
    By ryanb4614 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Feb 2010, 04:11 PM

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