Commerce Server General - Adding Multiple Items to Cart at Once

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > February 2004 > Adding Multiple Items to Cart at Once





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Adding Multiple Items to Cart at Once
Cheryl Thimmer

2004-02-18, 8:36 am

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
Michael O'Donovan [MSFT]

2004-02-19, 3: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



Cheryl Thimmer

2004-02-20, 6:36 am

Hi Michael,

Yes, that does help so thank you. You confirmed that there is no
standard page that will allow users to add multple items (such as
_addmultitems.asp...or something like that). And you confirmed that it
will require custom coding.

Do you do customer coding? Not to solicit bids here, but if I were to
ask for bids on rentacoder.com or some site like that, how long do you
think it would take to develop such as page?

Thanks,
Cheryl

"Michael O'Donovan [MSFT]" <michodon@online.microsoft.com> wrote in message news:<uSxkGVw9DHA.2404@TK2MSFTNGP11.phx.gbl>...
> 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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com