You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For information about a module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
Copy file name to clipboardExpand all lines: app/code/Magento/Multishipping/README.md
+26-1Lines changed: 26 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Yo can check this configuration and find more examples in the `etc/frontend/di.x
32
32
More information about [type configuration](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/build/di-xml-file.html).
33
33
34
34
35
-
Extension developers can interact with the Magento_Msrp module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
35
+
Extension developers can interact with the Magento_Multishipping module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
36
36
37
37
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_Msrp module.
38
38
@@ -44,6 +44,31 @@ This module observes the following event:
44
44
45
45
-`checkout_cart_save_before` in the `Magento\Multishipping\Observer\DisableMultishippingObserver` file.
46
46
47
+
The module dispatches the following events:
48
+
49
+
-`multishipping_checkout_controller_success_action` event in the
50
+
class `\Magento\Multishipping\Controller\Checkout\Success::execute()` method. Parameters:
51
+
-`order_ids` is order ids created during checkout
52
+
-`checkout_controller_multishipping_shipping_post` event in the
53
+
class `\Magento\Multishipping\Controller\Checkout\ShippingPost::execute()` method. Parameters:
54
+
-`request` is a request object `Magento\Framework\App\RequestInterface`.
55
+
-`quote` is a quote object for current checkout `Magento\Quote\Model\Quote`.
56
+
-`checkout_type_multishipping_set_shipping_items` event in the
57
+
class `\Magento\Multishipping\Model\Checkout\Type\Multishipping::setShippingItemsInformation()` method. Parameters:
58
+
-`quote` is a quote object for current checkout `Magento\Quote\Model\Quote`.
59
+
-`checkout_type_multishipping_create_orders_single` event in the
60
+
class `\Magento\Multishipping\Model\Checkout\Type\Multishipping::createOrders()` method. Parameters:
61
+
-`order` is a prepared order object for creating `\Magento\Sales\Model\Order`.
62
+
-`address` is an address array.
63
+
-`quote` is a quote object for current checkout `Magento\Quote\Model\Quote`.
64
+
-`checkout_submit_all_after` event in the
65
+
class `\Magento\Multishipping\Model\Checkout\Type\Multishipping::createOrders()` method. Parameters:
66
+
-`orders` is order object array `\Magento\Sales\Model\Order` that was created.
67
+
-`quote` is a quote object for current checkout `Magento\Quote\Model\Quote`.
68
+
-`checkout_multishipping_refund_all` event in the
69
+
class `\Magento\Multishipping\Model\Checkout\Type\Multishipping::createOrders()` method. Parameters:
70
+
-`orders` is order object array `\Magento\Sales\Model\Order` that was created.
71
+
47
72
For information about an event in Magento 2, see [Events and observers](http://devdocs.magento.com/guides/v2.3/extension-dev-guide/events-and-observers.html#events).
0 commit comments