di.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0"?>
  2. <!--
  3. @copyright Vertex. All rights reserved. https://www.vertexinc.com/
  4. @author Mediotype https://www.mediotype.com/
  5. -->
  6. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  7. xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
  8. <!-- Turn on error messages during Multishipping checkout -->
  9. <type name="Magento\Multishipping\Controller\Checkout\AddressesPost">
  10. <plugin name="vertex_multishipping_errors_on" type="Vertex\Tax\Model\Plugin\MultishippingErrorMessageSupport" />
  11. </type>
  12. <type name="Magento\Multishipping\Controller\Checkout\ShippingPost">
  13. <plugin name="vertex_multishipping_errors_on" type="Vertex\Tax\Model\Plugin\MultishippingErrorMessageSupport" />
  14. </type>
  15. <type name="Magento\Multishipping\Controller\Checkout\Overview">
  16. <plugin name="vertex_multishipping_errors_on" type="Vertex\Tax\Model\Plugin\MultishippingErrorMessageSupport" />
  17. </type>
  18. <type name="Magento\Multishipping\Controller\Checkout\OverviewPost">
  19. <plugin name="vertex_multishipping_errors_on" type="Vertex\Tax\Model\Plugin\MultishippingErrorMessageSupport" />
  20. </type>
  21. <type name="Magento\Checkout\Block\Onepage">
  22. <arguments>
  23. <argument name="layoutProcessors" xsi:type="array">
  24. <item name="reorderTaxMessage" xsi:type="object">Vertex\Tax\Block\Checkout\SortTaxMessageProcessor</item>
  25. </argument>
  26. </arguments>
  27. </type>
  28. <type name="Magento\Checkout\Block\Cart\Totals">
  29. <arguments>
  30. <argument name="layoutProcessors" xsi:type="array">
  31. <item name="reorderTaxMessage" xsi:type="object">Vertex\Tax\Block\Checkout\SortTaxMessageProcessor</item>
  32. </argument>
  33. </arguments>
  34. </type>
  35. </config>