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)
#3731 by Pejka
12 Dec 2016, 13:05
Is there any setting so that whenever someone adds a product to the basket that's already in the basket, or increases the amount of it, it doesn't increase the quantity but adds a different entry to the basket? In other words, I need a basket that doesn't aggregate the same products into a single line / value, but stores every item separately.
#3732 by aimeos
13 Dec 2016, 10:06
Currently, the same products with the same attributes are merged together due to

It would be possible to add a parameter like "$merge" (true/false) and pass a new option to addProduct() in the Basket controller:

If the basket should contain only products with a quantity of one (several times), you have to overwrite the editProduct() method: