[ic] How to NOT display out-of-stock item options?
Peter
peter at pajamian.dhs.org
Sun Aug 6 19:44:31 EDT 2006
On 08/06/2006 11:32 AM, interchange at tvcables.co.uk wrote:
> Quoting Marty Tennison <marty at sediva.com>:
>
>> This may be what you are looking for.
>>
>> [item-options td=1 label=1 bold=1 price=1 inventory="inventory:quantity"]
>>
>> I believe you can set the inventory option to any field:column pair
>> you wish.
>
>
> Indeed that looks exactly what I am looking for, I found the original
> thread here:-
>
> http://www.icdevgroup.org/pipermail/interchange-users/2001-December/015570.html
>
>
> However, it does not appear to work on 5.2.0 no matter what I set the
> inventory:quantity to eg 0 or a negative number, has this functionality
> been removed?
The code is there for newer style Matrix options and should work. Make
sure you are setting it to the correct table:column and check your error
logs to see if it's complaining about anything.
Peter
More information about the interchange-users
mailing list