Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Basic Configuration / Hide out of stock products from advanced search

Hide out of stock products from advanced search

Started by solo_400 on 4 Mar 2013, 10:43 AM · Views: 1,691

Results 1 to 5 of 5
4 Mar 2013, 10:43 AM
#1
solo_400 avatar

solo_400

Zen Follower

Join Date:
Aug 2009
Posts:
369
Plugin Contributions:
0

Post #1 by solo_400

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

4 Mar 2013, 12:49 PM
#2
solo_400 avatar

solo_400

Zen Follower

Join Date:
Aug 2009
Posts:
369
Plugin Contributions:
0

Post #2 by solo_400

I have found the solution on this forum .
thx

28 Mar 2013, 7:30 AM
#3
mcpisik avatar

mcpisik

Zen Follower

Join Date:
Jan 2007
Location:
Mount Maunganui, New Zealand
Posts:
417
Plugin Contributions:
0

Post #3 by mcpisik

solo_400:

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.

28 Mar 2013, 12:57 PM
#4
ajeh avatar

ajeh

Oba-san

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

Post #4 by ajeh

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!

28 Mar 2013, 5:08 PM
#5
mcpisik avatar

mcpisik

Zen Follower

Join Date:
Jan 2007
Location:
Mount Maunganui, New Zealand
Posts:
417
Plugin Contributions:
0

Post #5 by mcpisik

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.