I'm trying add to cart a item with price 0 when I have this product added in the cart.
Example: I have in the cart the product with SKU: 0000123 with his current price: 2.00 with a new functionality of my web and now I want add the SKU: 0000123 with the price 0 but when i try add again with price 0 only modify the qty of the 1st item to 2
I have an Observer with the event checkout_cart_product_add_after
Question: How can I add the simple product with price 0 when i have the same product in the cart with his real price?
Best Answer
events.xml
on the following location.Customprice.php
on following location.