[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ic] loop question


I'm running 5.4.1 and have the below hunk of code which displays
information about the items from a given order. The last column shows
the quantity of the item in our inventory and all of this works fine.

Now I've added a field named "notes" to the inventory table and I'd like
to display that field right next to the quantity. I tried simply changing

[itemlist-data inventory quantity]
to
[itemlist-data inventory quantity] [itemlist-data inventory notes]

but the notes are not showing up. Can someone tell me why this is?

Here's the code hunk:


	[loop search="
                        fi=orderline
			ra=no
			ml=1000
			st=db
                        se=[my-data transactions order_number]
                        sf=order_number
		"]

<tr><td align="center" colspan=4>

<table cellspacing="5" align="left" width="95%"><tr>
<td width="10%">[loop-data orderline code]</td>
<td width="15%">[loop-data orderline sku]</td>
<td width="25%">[loop-data orderline description]</td>
<td width="10%">[loop-data orderline quantity]</td>
<td width="15%">[loop-data orderline price]</td>
<td width="15%">[loop-data orderline subtotal]</td>
<td width="10%">
[loop prefix=itemlist search="se=[loop-data orderline
sku]/fi=inventory/sf=sku/"]
[itemlist-data inventory quantity]
[/loop]
</td>
</tr>
</table>

</tr>


[/loop]


Thanks for any hints.

DB
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.