Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

A way to add a read-only product to cart? 
 
KThompkins
Sr. Member
 
Total Posts:  150
Joined:  2011-09-01
 

Is there a way to add an item to the cart that the customer can’t remove?  We have some products that automatically come with another product. We can’t just eyeball it because the orders are imported into another system and the second product needs to be added with the first.

 
Magento Community Magento Community
Magento Community
Magento Community
 
chiefair
Mentor
 
Avatar
Total Posts:  1848
Joined:  2009-06-04
 

One way is to make it a mandatory option.

The read-only add you propose will need a reciprocal remove function. To make it unremovable from the cart would stink from the customer’s viewpoint because if they decide to not buy the combo, the item will have to self-remove when its twin gets removed. Otherwise the customer will have to dump the whole cart and start over.

 
Magento Community Magento Community
Magento Community
Magento Community
 
KThompkins
Sr. Member
 
Total Posts:  150
Joined:  2011-09-01
 

What’s a good way to make it mandatory?  I’m currently looking at a way to just add it silently during checkout… it’s a free item, so no hidden fees.

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