I want to change the price of a configurable product I put in my quote. I use the observer sales_quote_add_item
but it won't work for configurable products.
I expect the observer method to run twice (for the simple and configurable record that's put in the database) but it's only called once (for the simple product). The record for configurable still has the old prices.
Can anyone tell me how I can change the price for the complete quote-item in such a way that it will also be seen on cart overview, invoices and emails?
Best Answer
I figured it out myself. You need to observe the event
checkout_cart_product_add_after
. In the observer you need the following: