[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] item-quantity on flypage
Quoting Philip Alves (philip.alves@sympatico.ca):
> Howdy!
>
> On flypage, I want to show that an item has been placed in the basket, and
> how many of that item. I've got this:
>
> [item-list][if ordered [item-code]]
> <tr><td colspan="2">
> [item-quantity] of this item are in your cart.
> </td></tr>
> [/if][/item-list]
>
> As you can probably tell, this returns "x of this item are in your cart."
> for every item in the basket. How do I get flypage to show "THIS MANY of
> this item are in your cart"?
>
You should look at the FAQ. I think it has a question in this area.
Besides it might spur you to do some further investigation and find:
[nitems qualifier=code compare="^[item-code]$"]
Or it is very easy to do in embedded Perl, and there are examples in the
FAQ.
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.513.523.7621 <mike@perusion.com>
"Laughter is inner jogging." -- Norman Cousins