Magento
M70-101 · Question #42
You want your module to set some data on the shopping cart item when a product is added to the cart on the frontend. Which event can be used regardless of how the product is added to the cart (from…
The correct answer is D. sales_quote_add_item. See the full explanation below for the reasoning.
Question
You want your module to set some data on the shopping cart item when a product is added to the cart on the frontend. Which event can be used regardless of how the product is added to the cart (from wishlist, through quote merge, etc.)?
Options
- Acheckout_cart_add_product_complete
- Bcheckout_cart_product_add_after
- Ccheckout_cart_save_before
- Dsales_quote_add_item
- Esales_quote_product_add_after
- Fsales_quote_merge_after
How the community answered
(54 responses)- A7% (4)
- B2% (1)
- C2% (1)
- D72% (39)
- E13% (7)
- F4% (2)
Community Discussion
No community discussion yet for this question.