Custom Attributes is not adding a new product in cart

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Anshul Dua
Posts: 24
Joined: 15 Mar 2018, 10:04

Custom Attributes is not adding a new product in cart

Post by Anshul Dua » 09 Apr 2018, 08:37

Hi Team,
I am facing a problem in the ADD PRODUCT JSON API.
When I am trying to add a product with attribute number 1 and then same product with attribute number 2. It is adding these different-different products which is fine. But When i am adding same product with both attribute 1 and 2 then it is not adding that product with new entry. It is just increasing the quantity of product which added with attribute number 2 which is wrong.
Can you tell me why this is happening ? I want a new entry for this.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Custom Attributes is not adding a new product in cart

Post by aimeos » 09 Apr 2018, 09:10

We haven't been able to reproduce the issue. Maybe it depends on your product/attribute setup or the parameters passed. You can check here why the products are merged:
https://github.com/aimeos/aimeos-core/b ... e.php#L625
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply