I am trying to exit point on observer for checkout_cart_product_add_after event.

But it always refresh after item added to cart.

Any way to print data when debug this event and not refresh the page.

It happen when i print or echo something.it works with log file but everytime i have to check log so it would be easy if i can check it with exit on code.

  • No but i want to use only checkout_cart_product_add_after event not other
    – MageLerner
    May 17, 2019 at 12:35


Your Answer

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