[ic] loop tag?

Zachary Matthews zac@mediapc.com
Mon, 11 Dec 2000 16:21:28 -0800


Joe,

Try [loop-data qty_table foo].  If that doesn't work, try the following:

Change 'rf' to return only the sku::
[loop search="fi=qty_table/se=[item-code]/sf=sku/rf=sku/tf=seq"]

then access the qty and foo like this:

[data table=qty_table column=qty key='[loop-code]']
[data table=qty_table column=foo key='[loop-code]']

I'm not sure that this is the most programmatically effecient (in fact
it must not be...) but it should work.

Good luck,
Zac

>From: Joe Tarnow <joe_punch_clock@yahoo.com>
>To: interchange-users@minivend.com
>Subject: [ic] loop tag?
>Date: Mon, Dec 11, 2000, 1:57 PM
>

> Hello users,
>
> When trying to pull out 2 values, not from the
> products table,
> how do you get the second one.  That is [loop-code]
> returns
> field qty, but [loop-foo] or [loop-data ord_qty foo]
> doesn't return
> field foo?
>
> [loop
> search="fi=qty_table/se=[item-code]/sf=sku/rf=qty,foo/tf=seq"]
> [loop-code]-[loop-foo???]
> [/loop]
>
>
> qty_table
>
> sku qty foo seq
> bc-0001 250 bar1 1
> bc-0001 500 bar2 2
> bc-0001 1000 bar3 3
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users
>