1

When the customer adds a product to the cart, what is the list of events and the order of them?

1 Answer 1

3

I had a quick look and I believe these events are dispatched after product has been added to the cart:

catalog_product_type_prepare_full_options
sales_quote_add_item (if it is a new item)
sales_quote_product_add_after
checkout_cart_product_add_after
checkout_cart_save_before
checkout_cart_save_after
checkout_cart_add_product_complete

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.