문제

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 ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top