I want to add certain same products to a new ordeline.
Is there an observer where I can decide if a product is added to a new orderline?
I want to add certain same products to a new ordeline.
Is there an observer where I can decide if a product is added to a new orderline?
Notifications.eCommerce.Cart.Line.Added is when a new line is created. If the quantity changes, it is Notifications.eCommerce.Cart.Line.Increased, and there is one for Decreased, deleted and so on.
That is not exactly what I meant.
Is there an observer before those cart.line added or increased that decides whether it goes to line added or line increased?
No, that does not exist. Only the notifications you can find on Notifications.Ecommerce.Cart object.
You must be logged in to post in the forum