[ic] item-list tag.

Cameron B. Prince cameron@akopia.com
Sun, 19 Nov 2000 13:01:11 -0600


Hi Paul,

You'll need to create your own function like item-list. You should be able
to do this with inline perl. You'll have to iterate through each entry in
the basket hash, then loop through the quantity for each entry.

The current item-list just loops through each entry, not each entries'
quantity as you've discovered.

I can't recall seeing anyone do this before, but maybe a search of the
archives would help.

Good luck,

Cameron

-----Original Message-----
From: interchange-users-admin@minivend.com
[mailto:interchange-users-admin@minivend.com]On Behalf Of Paul Stearns
Sent: Saturday, November 18, 2000 12:07 PM
To: interchange-users@minivend.com
Subject: Re: [ic] item-list tag.


Zachary:

You are correct. I tried it and it does only work if you click the buy link
multiple times.

Any idea on how to make it display the items individually when you select a
quantity greater than 1?

Paul

Zachary Matthews wrote:

> Set:
>
> SeparateItems     Yes
>
> in catalog.cfg.  I believe this is the default for the Construct demo,
> however, the items will only appear as separate when you click a buy
> link more than once... if you just put 10 for the quantity, they will
> show up as one item with a quantity of 10.
>
> Good luck.
> Zac
>
> ----------
> >From: Paul Stearns <interchange@aceworld.com>
> >To: interchange-users@minivend.com
> >Subject: [ic] item-list tag.
> >Date: Fri, Nov 17, 2000, 2:20 PM
> >
>
> > What I need to do, and I can't seem to find in the doc's is to display
each
> > item by itself. If we were to take the demo app construct, I would like
to
> > have the table of ordered items on the checkout page to show 10
different
> > line items if I ordered 10 of a single product.
> >
> > This would give me the ability to ship each one to a different person.
Has
> > anyone done this? Or can y'all point me in the right direction?
> >
> > Paul
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@www.minivend.com
> > http://www.minivend.com/mailman/listinfo/interchange-users
> >
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users


_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users