Magento Database Transaction -


How can I insert data into multiple tables in a single transaction and rollback in Magento if there is an error in the process? ? I can write custom questions and use the transaction, but I like if I can do this using Magneto methods.

You can try the grain: getModel ('core / resource_transaction'). Documentation for this is as it is.

But perhaps more useful, it's an order to use it to make an invoice.

Comments

Popular posts from this blog

php - Creating canonical URLs with custom route-classes -

Mysql Local server hardware -

mysql - Formatting problem with PHP DateTime Difference when used as part of an equation -