[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Calculating quantity of items
Quoting Jason Kohles (jkohles@redhat.com):
> On Wed, Jun 13, 2001 at 04:47:20PM -0400, Tim Mirecki wrote:
> > I am trying to figure out the best way to calculate this: if someone hits
> > "Add Item" 5 times, instead of adding the quantity of 5, how can I coagulate
> > these into ONE item in the cart instead of 5 separate items?
> >
> If you want to do it for all items in the catalog, just set SeparateItems to
> No in your catalog.cfg, if you just want to do it for specific products, it
> will be a lot more complex...
Not really much more complex.
[page href=order
form="
mv_order_item=SKU-0001
mv_separate_items=0
"]Order on same line[/page]
[page href=order
form="
mv_order_item=SKU-0001
mv_separate_items=1
"]Order on separate line[/page]
[page href=order
form="
mv_order_item=SKU-0001
"]Order on whatever the default is[/page]
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Light travels faster than sound. This is why some people appear bright
until you hear them speak. -- unknown