Question

I have products with different custom options. When a same product with same custom options is added to cart twice, it appears in the cart as 2 X qty Please refer the image enter image description here

I want to display it as separate product. Please refer the below image.

enter image description here

How can I do it. Please help.

Was it helpful?

Solution

Try this:

Copy the file app/code/core/Mage/Sales/Model/Quote/Item.php to app/code/local/Mage/Sales/Model/Quote/Item.php

Set the return as false in function representProduct()

OTHER TIPS

Magento shows product with different options separately. You need to add an additional option programmatically using observer.

Go through below link to do the same.

https://docs.google.com/presentation/d/1efPznQSVTrT1HAD1xQvCPC-Tgvr8jYok4X7ZEJhm9jE/edit#slide=id.gd03b59c1_026

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top