Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Adding multiple product to shopping cart by ONE click View modes: 
User avatar
Member
Member
filip1994 - 2/16/2011 10:38:45 AM
   
Adding multiple product to shopping cart by ONE click
Hello,

I have question about e-commerce. I want to do this: When you add some product to shopping cart, so this product and next one specified product. Is it possible?

Thank you very much for quick answer.
Filip Storek

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 2/21/2011 4:20:26 AM
   
RE:Adding multiple product to shopping cart by ONE click
Hello,

Regrettably, there is no native support for this. However, you can implement a custom shopping cart provider for that (please take a look into the CustomShoppingCartInfoProvider section). You can check the current shopping cart for all it's content and if there is the item A in it, just add the item B to it. This you can specify within the EvaluateShopping cart method. For more information please check also the following knowledge base article about Adding products to shopping cart using our API.

Best regards,
Boris Pocatko