[ic] item-list tag.
Cameron B. Prince
Sun, 19 Nov 2000 13:01:11 -0600
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.
[mailto:firstname.lastname@example.org]On Behalf Of Paul Stearns
Sent: Saturday, November 18, 2000 12:07 PM
Subject: Re: [ic] item-list tag.
You are correct. I tried it and it does only work if you click the buy link
Any idea on how to make it display the items individually when you select a
quantity greater than 1?
Zachary Matthews wrote:
> 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.
> >From: Paul Stearns <email@example.com>
> >To: firstname.lastname@example.org
> >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
> > item by itself. If we were to take the demo app construct, I would like
> > have the table of ordered items on the checkout page to show 10
> > line items if I ordered 10 of a single product.
> > This would give me the ability to ship each one to a different person.
> > anyone done this? Or can y'all point me in the right direction?
> > Paul
> > _______________________________________________
> > Interchange-users mailing list
> > Interchangeemail@example.com
> > http://www.minivend.com/mailman/listinfo/interchange-users
> Interchange-users mailing list
Interchange-users mailing list