Skip to content

Instantly share code, notes, and snippets.

@adrian-green
Last active April 29, 2016 15:38
Show Gist options
  • Save adrian-green/2d804c5c82e58ca49b27 to your computer and use it in GitHub Desktop.
Save adrian-green/2d804c5c82e58ca49b27 to your computer and use it in GitHub Desktop.
Main events fired during one-page checkout in Magento
### Events during order submit process
`core_copy_fieldset_customer_account_to_quote`
`core_copy_fieldset_sales_convert_quote_to_order`
`sales_convert_quote_to_order`
`core_copy_fieldset_sales_convert_quote_address_to_order`
`sales_convert_quote_address_to_order`
`core_copy_fieldset_sales_convert_quote_address_to_order_address`
`sales_convert_quote_address_to_order_address`
`sales_order_address_collection_set_sales_order`
`core_copy_fieldset_sales_convert_quote_payment_to_order_payment`
`sales_convert_quote_payment_to_order_payment`
`sales_order_payment_collection_set_sales_order`
`core_copy_fieldset_sales_convert_quote_item_to_order_item`
`core_copy_fieldset_sales_convert_quote_item_to_order_item_discount`
`sales_convert_quote_item_to_order_item`
`sales_order_item_collection_set_sales_order`
`checkout_type_onepage_save_order`
`sales_model_service_quote_submit_before`
`sales_quote_save_before`
`sales_quote_save_after`
`sales_quote_address_save_before`
`sales_quote_address_save_after`
`sales_quote_payment_save_before`
`sales_quote_payment_save_after`
`sales_order_save_before`
`sales_order_address_save_before`
`sales_order_address_save_after`
`sales_order_resource_save_attribute_before`
`sales_order_resource_save_attribute_after`
`sales_order_item_save_before`
`sales_order_item_save_after`
`sales_order_payment_save_before`
`sales_order_payment_save_after`
`sales_order_resource_update_grid_records`
`sales_order_resource_init_virtual_grid_columns`
`sales_order_save_after`
`sales_order_place_before`
`sales_order_payment_place_start`
`sales_order_status_history_collection_set_sales_order`
`sales_order_status_history_collection_load_before`
`sales_order_status_history_collection_load_after`
`sales_order_payment_place_end`
`sales_order_place_after`
`sales_order_status_history_save_before`
`sales_order_status_history_save_after`
`sales_quote_address_save_commit_after`
`sales_quote_payment_save_commit_after`
`sales_quote_save_commit_after`
`sales_order_address_save_commit_after`
`sales_order_item_save_commit_after`
`sales_order_payment_save_commit_after`
`sales_order_save_commit_after`
`sales_order_status_history_save_commit_after`
`sales_model_service_quote_submit_success`
`sales_model_service_quote_submit_after`
`checkout_type_onepage_save_order_after`
`checkout_submit_all_after`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment