Magento Forum

   
Prevent user from adding item B if A is in cart
 
kalapratik
Jr. Member
 
Total Posts:  2
Joined:  2009-11-07
 

Hi guys,
I was wondering if Magento can do the following.
A television website which sells TV’s with a standard 1 year warranty and extended 3 and 5 year warranties.

At checkout, if the user has a 3 year warranty, a 5 year warranty option is given as a cross sell product.

Now, if the user already has a 3 year warranty television in the cart, and decides to buy the 5 year warranty as well, there is a conflict.

I was wondering if Magento can give a warning / prevent the user from buying a product “B” if product “A” is already in cart.

Cheers for all the help

 
Magento Community Magento Community
Magento Community
Magento Community
 
Issa BERTHE
Jr. Member
 
Total Posts:  5
Joined:  2010-04-08
 

Hello kalapratik,
have found a solution since then? thank you for making a return if it does
I have exactly the same things to do.

 
Magento Community Magento Community
Magento Community
Magento Community
 
kab8609
Enthusiast
 
Avatar
Total Posts:  813
Joined:  2009-04-07
Cleveland
 
Issa BERTHE - 11 June 2012 06:01 AM

Hello kalapratik,
have found a solution since then? thank you for making a return if it does
I have exactly the same things to do.

I can answer one part of this question.

The easiest solution (without paying for custom development work) is to create the product as a bundle. This would force the user to choose and prevent them from having two conflicting warranties.

You could have some custom coding on the checkout page that check to see which kind of warranty they have, however I never had a customer that needed that. Just thinking about it, the concept would be possible.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top