I need urgent solution. I'm newbie Magento Learner. How can I complete this task. Before Product save -> Build Event -> print die in Observer.

  • Die may not work in Observer. Try using Log instead
    – Gagan
    Apr 18, 2022 at 6:56

1 Answer 1


Check the following solution.

How to create an new observer on the event catalog_product_save_before

For Reference check following:


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.