You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

61 line
3.2 KiB

  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
  9. <type name="Magento\Framework\Url\SecurityInfo">
  10. <arguments>
  11. <argument name="secureUrlList" xsi:type="array">
  12. <item name="multishipping_checkout" xsi:type="string">/multishipping/checkout</item>
  13. </argument>
  14. </arguments>
  15. </type>
  16. <virtualType name="multishippingPaymentSpecification" type="Magento\Payment\Model\Method\Specification\Composite">
  17. <arguments>
  18. <argument name="specifications" xsi:type="array">
  19. <item name="enabled" xsi:type="string">Magento\Multishipping\Model\Payment\Method\Specification\Enabled</item>
  20. </argument>
  21. </arguments>
  22. </virtualType>
  23. <type name="Magento\Multishipping\Block\Checkout\Billing">
  24. <arguments>
  25. <argument name="paymentSpecification" xsi:type="object">multishippingPaymentSpecification</argument>
  26. </arguments>
  27. </type>
  28. <type name="Magento\Multishipping\Model\Checkout\Type\Multishipping">
  29. <arguments>
  30. <argument name="paymentSpecification" xsi:type="object">multishippingPaymentSpecification</argument>
  31. </arguments>
  32. </type>
  33. <type name="Magento\Checkout\Controller\Cart\Add">
  34. <plugin name="multishipping_disabler" type="Magento\Multishipping\Plugin\DisableMultishippingMode" sortOrder="50" />
  35. </type>
  36. <type name="Magento\Checkout\Controller\Cart\UpdatePost">
  37. <plugin name="multishipping_disabler" type="Magento\Multishipping\Plugin\DisableMultishippingMode" sortOrder="50" />
  38. </type>
  39. <type name="Magento\Checkout\Controller\Index\Index">
  40. <plugin name="multishipping_disabler" type="Magento\Multishipping\Plugin\DisableMultishippingMode" sortOrder="50" />
  41. </type>
  42. <type name="Magento\Checkout\Model\Cart">
  43. <plugin name="multishipping_session_mapper" type="Magento\Multishipping\Model\Checkout\Type\Multishipping\Plugin" sortOrder="50" />
  44. </type>
  45. <type name="Magento\Checkout\Controller\Cart">
  46. <plugin name="multishipping_clear_addresses" type="Magento\Multishipping\Model\Cart\Controller\CartPlugin" sortOrder="50" />
  47. </type>
  48. <type name="Magento\Checkout\Controller\Sidebar\UpdateItemQty">
  49. <plugin name="multishipping_clear_addresses_before_update_qty" type="Magento\Multishipping\Model\Cart\Controller\MiniCartPlugin" sortOrder="50" />
  50. </type>
  51. <type name="Magento\Checkout\Controller\Sidebar\RemoveItem">
  52. <plugin name="multishipping_clear_addresses_before_remove_item" type="Magento\Multishipping\Model\Cart\Controller\MiniCartPlugin" sortOrder="50" />
  53. </type>
  54. <type name="Magento\Quote\Model\Quote">
  55. <plugin name="multishipping_reset_shipping_assigment" type="Magento\Multishipping\Plugin\ResetShippingAssigment"/>
  56. </type>
  57. <type name="Magento\Checkout\Controller\Cart\UpdateItemQty">
  58. <plugin name="multishipping_disabler" type="Magento\Multishipping\Plugin\DisableMultishippingMode" sortOrder="10" />
  59. </type>
  60. </config>