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.

有帮助吗?

解决方案

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()

其他提示

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

许可以下: CC-BY-SA归因
scroll top