[ic] Out of Stock

Paul Jordan interchange-users@interchange.redhat.com
Mon Mar 18 18:41:01 2002


> Is there a way to ensure that an "out of stock" item can not be purchased
> but only allow the users to be notified when stock is
> replensished.  We have
> noticed customers are now purchasing even though they will show "out of
> stock".

I put my purchasing <input> inside an [if], depending on the quantity.

[if-item-data inventory quantity < 1]
   [else]
     <input type="image" src="__BUTTON_DIR__/addtocartdl.gif" border="0"
value="Buy it Now!">
   [/else]
[/if-item-data]

Also, I don't think ICs built in "In Stock Notification" is functional. I
think it is just a decoration :) but I am sure you could get it running
easily.

Paul