[ic] calling specific sku

Ed LaFrance interchange-users@interchange.redhat.com
Fri Nov 30 18:54:01 2001


At 02:24 PM 11/30/2001 -0800, you wrote:
>I am a newbie so if this is really stupid, sorry. I have searched the pdf's
>and the IC website but haven't found the info I need. I am using IC 4.8.1 in
>what seems to be it's native state of dynamically creating pages. However, I
>do need some static pages that will sell items also.
>
>how would I use-
>[if-item-data inventory quantity < 1]
>
>to instead check a specific sku. I will have a few of these on the same page
>in slightly different forms.
>
>I tried
>
>[if-[im0003]-data inventory quantity < 1]
>and
>[if-im0003-data inventory quantity < 1]
>and others that are similar.

[snip]

There are many ways to do this, here's a few:

[if type=data term="inventory::quantity::im0003" op="<" compare="1"]
         ...
[/if]

-- or --

[loop arg="im0003"]
         [if-loop-data inventory quantity < 1]
                 ...
         [/if-loop-data]
[/loop]

-- or --

[fly-list code="im0003"]
         [if-item-data inventory quantity < 1]
                 ...
         [/if-item-data]
[/fly-list]


- Ed L.

===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================