Developer forum

Forum » Ecommerce - Standard features » Add multiple products to cart at once?

Add multiple products to cart at once?

Dmitrij Jazel
Reply

Hi guys,

Was wondering how to approach this one here.

I have a product page, where I have a list of products.

And I was wondering if I can add all of them into a cart at once.

F. eks. 10 x PROD1, 20 x PROD2, 14 x PROD3 etc...

I tried to use something like this:

http://local.dynamicweb.no/default.aspx?id=6&productid=PROD2,PROD1&cartcmd=add

I tried also to change "," to %2C didn't work either.

 

Any suggestions? :-)

//Dmitrij

 


Replies

 
Dmitrij Jazel
Reply

Hmm... did anyone never tried to do something like this?

In worst case I could write template extender, and there I could fill the cart based on information that I could pass with URL. But I keep this as very last option. I think this could solved with series of Ajax calls maybe? or something similar to that?

But I think the best thing would be to hear something from someone who actually attempted to do something like this. 

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply
This post has been marked as an answer

Did you see this? http://developer.dynamicweb-cms.com/forum/development/adding-multiple-items-to-a-cart.aspx

 

Imar

 

Votes for this answer: 1
 
Dmitrij Jazel
Reply

Hej Imar,

That is exactly what I needed! :)))

It works!!! thanks for sharing great resource! :)))

 

Regards,

Dmitrij

 

You must be logged in to post in the forum