0

After the user adds a product to the cart, I need to run a check on the quote because I have to manipulate the total price if necessary and then save the changed quote.

Where is the ideal place to make my quote check?

Maybe in the controller Magento_Checkout/Controller/Index/Index ?

2
  • 1
    You can use observer for that "checkout_cart_product_add_after" this event can be used to manipulate the prices
    – Tanmay
    Oct 29, 2020 at 14:38
  • @Anuraag, hmm, maybe checkout_cart_save_before is better? Or maybe custom_quote_process...
    – Black
    Oct 29, 2020 at 15:31

0

Your Answer

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