Custom Attributes is not adding a new product in cart
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 24
- Joined: 15 Mar 2018, 10:04
Custom Attributes is not adding a new product in cart
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.
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.
Re: Custom Attributes is not adding a new product in cart
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
https://github.com/aimeos/aimeos-core/b ... e.php#L625
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star