Вопрос

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