Adding Multiple Items to Cart at Once
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > Adding Multiple Items to Cart at Once




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Adding Multiple Items to Cart at Once  
Cheryl Thimmer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-18-04 01:36 PM

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 ]



    Re: Adding Multiple Items to Cart at Once  
Michael O'Donovan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: Adding Multiple Items to Cart at Once  
Cheryl Thimmer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-20-04 11: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 so
me
> 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 ge
t
> the productid, catalogname, quantity from the forms that is posted to it a
nd
> adds the item to the users basket.
>
> I hope this helps,
> Michael





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:29 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register