I need to save data in 2 tables at once in a single transaction in magento. The value to be stored in table 2 is dependent on values stored in table 1. How to handle this scenario in a single transaction?

  • is this for magento 1.9 or magento 2?
    – Marius
    May 13, 2016 at 11:59
  • it is for magento2
    – Niranjan B
    May 13, 2016 at 12:01


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.

Browse other questions tagged or ask your own question.