[ic] Disable Inventory Quantity Management

Nora Heuer - Baytides Management Inc. interchange-users@icdevgroup.org
Thu Oct 10 15:15:02 2002


On 10 Oct 2002 at 13:06, Joshua M. McClain wrote:

> Found this old post ... was this ever answered?  I want a way to shut
> down "out of stock" notifications.  EVERYTHING my customers buy is
> special order, and it's just annoying for them to see the stock
> status.
> 
> Thanks,
> Josh McClain

1st go to "Preferences" in the admin section and under "Orders" set 
DECREMENT_INVENTORY to "0".
2nd remove the following code from results.html or comment it out
<snip>
[item-calc]
	my $q = q{[item-data inventory quantity]};
	if($q > 0) {
		return <<EOF;
<font __FFACE__ size="1" color="#008000"><b>Y</b></font>
EOF
	}
	else {
		return <<EOF;
<a href="[area stock-alert [item-code]]"><b>N</b></a>
EOF
	}
[/item-calc]
</snip>

Nora