02-19-04 08:35 AM
Hi Cheryl,
I assume the _additem.asp is a page that comes from the sample retail site.
If this is the case, it is designed to only add one type of product at a
time. This means you can add one or more products of the same productID by
submitting an html form to the page with the appropriate information in it.
The form fields that the page expects are product_id, product_qty,
catalog_name and category_name.
If you would like to be able to add multiple different products by calling
the page once then you will need to change code. Yes, this will require some
development skills as most changes to the sample sites do.
For reference purposes, there is code in the _additem.asp page in the main
function that adds a single product to the users basket. It essentially get
the productid, catalogname, quantity from the forms that is posted to it and
adds the item to the users basket.
I hope this helps,
Michael
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Cheryl Thimmer" <cheryl_thimmer@yahoo.com> wrote in message
news:58ae10fb.0402181407.6fa9acb0@posting.google.com...
> Hi everyone,
>
> Does anyone know of a way to add multiple items (products) to a cart
> using Commerce Server 2002? I have a form that I know submits to
> _additem.asp to add a single item to the cart, but what if someone
> wants to buy two or more products at the same time?
>
> Any help is greatly appreciated...even if it's just to let me know
> that I need to hire a programmer to do this. If code exists somewhere,
> I'll be indebted to you to point me to the right location!
>
> Sincerely,
> Cheryl
[ Post a follow-up to this message ]
|