[ic] How to NOT display out-of-stock item options?

ic at 3edge.com ic at 3edge.com
Sun Aug 6 02:49:43 EDT 2006


interchange at tvcables.co.uk writes: 

> Quoting Frank Reitzenstein <frank at goldissue.com>: 
> 
>> interchange at tvcables.co.uk wrote: 
>> 
>>> Hi Folks, 
>>> 
>>> I am using this code from the foundation flypage to display product
>>> options:- 
>>> 
>>> [table-organize cols=2 table=' ' font="size=1" pretty=1]
>>> [item-options td=1 label=1 bold=1 price=1]
>>> [/table-organize] 
>>> 
>>> Is there a simple way to NOT display options that have a zero stock
>>> level? At the moment all options are shown even if the stock/on hand
>>> is set to 0. 
>>> 
>>> Thanks,
>>> Andy. 
>>> 
>>> _______________________________________________
>>> interchange-users mailing list
>>> interchange-users at icdevgroup.org
>>> http://www.icdevgroup.org/mailman/listinfo/interchange-users 
>>> 
>> [if-item-data inventory quantity > 0]
>> [table-organize cols=2 table=' ' font="size=1" pretty=1]
>> [item-options td=1 label=1 bold=1 price=1]
>> [/table-organize]
>> [/if-item-data}
> 
> Thanks for your suggestion Frank, unfortunately that doesn't change  the 
> options list as it checks the base product stock level and not the  option 
> stock level, I guess it needs something a little more  complicated? 
> 

Perhaps this one helps: 

http://www.icdevgroup.org/pipermail/interchange-users/2001-August/011007.htm 
l 

CU, 

Gert


More information about the interchange-users mailing list