Remove items from cart if quantity is zero
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Remove items from cart if quantity is zero
Hello,
is there a way to configure aimeos so that the user may enter zero (0) as a quantity? Then, the action should be the same as if the user clicked on the Minus button, i.e. delete the item from the cart.
Currently, this results in an error message that no price could be determined for quantity 0.
Claudia
is there a way to configure aimeos so that the user may enter zero (0) as a quantity? Then, the action should be the same as if the user clicked on the Minus button, i.e. delete the item from the cart.
Currently, this results in an error message that no price could be determined for quantity 0.
Claudia
Re: Remove items from cart if quantity is zero
Best option would be to remove the product here from the basket if the quantity is 0:
https://github.com/aimeos/ai-controller ... d.php#L286
If you create a PR, we will be happy to merge it
https://github.com/aimeos/ai-controller ... d.php#L286
If you create a PR, we will be happy to merge it
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