Zen Cart Logo
Forums / All Other Contributions/Addons / Dont show inventory when at 0 plugin

Dont show inventory when at 0 plugin

Views: 378

Results 1 to 3 of 3
22 Mar 2013, 4:59 PM
#1
clint6998 avatar

clint6998

Zen Follower

Join Date:
Aug 2012
Posts:
106
Plugin Contributions:
0

Dont show inventory when at 0 plugin

I know that you can change the settings in the admin section to not show items out of stock, but I am wanting to give the customer the option to make that choice since we allow backorders. Does anyone know of a plugin that will allow a user to choose whether or not they want to see in stock products only?

Thanks,

Clint

22 Mar 2013, 5:27 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Dont show inventory when at 0 plugin

Modify the settings in your admin panel...

ADMIN >>> CONFIGURATION >>> STOCK

EDIT: Sorry... not the answer you were looking for,

As far as I know, no such plugin.

22 Mar 2013, 8:25 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Dont show inventory when at 0 plugin

products_qty of 0 means none-in-stock
products_status of 0 means product has been disabled, which could be a result of the admin setting it off, or by inventory settings set to disable product when qty goes to 0

The system presently only directly accounts for a check on products_status.
If you want to change it to also use products_qty, then you'll need to add your own custom code to the index-filters scripts in /includes/index_filters/