![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/Ecombricks/InventoryInventorySourceSelection/etc/ |
<?xml version="1.0"?> <!-- /** * Copyright © eComBricks. All rights reserved. * See LICENSE.txt for license details. */ --> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <type name="Magento\InventorySourceSelection\Model\Algorithms\PriorityBasedAlgorithm"> <plugin name="ecombricksInventoryInventorySourceSelectionPluginModelAlgorithmsPriorityBasedAlgorithm" type="Ecombricks\InventoryInventorySourceSelection\Plugin\Model\Algorithms\PriorityBasedAlgorithm" sortOrder="-999" /> </type> <type name="Magento\InventorySourceSelectionApi\Model\Algorithms\Result\GetDefaultSortedSourcesResult"> <plugin name="ecombricksInventoryInventorySourceSelectionPluginModelAlgorithmsResultGetDefaultSortedSourcesResult" type="Ecombricks\InventoryInventorySourceSelection\Plugin\Model\Algorithms\Result\GetDefaultSortedSourcesResult" sortOrder="-999" /> </type> <type name="Magento\InventorySourceSelection\Model\GetDefaultSourceSelectionAlgorithmCode"> <plugin name="ecombricksInventoryInventorySourceSelectionPluginModelGetDefaultSourceSelectionAlgorithmCode" type="Ecombricks\InventoryInventorySourceSelection\Plugin\Model\GetDefaultSourceSelectionAlgorithmCode" sortOrder="-999" /> </type> <type name="Magento\InventorySourceSelectionApi\Model\SourceSelectionService"> <arguments> <argument name="sourceSelectionMethods" xsi:type="array"> <item name="default" xsi:type="string">Ecombricks\InventoryInventorySourceSelection\Model\Algorithms\DefaultAlgorithm</item> </argument> </arguments> </type> <type name="Magento\InventorySourceSelectionApi\Model\GetSourceSelectionAlgorithmList"> <arguments> <argument name="availableAlgorithms" xsi:type="array"> <item name="default" xsi:type="array"> <item xsi:type="string" name="code">default</item> <item xsi:type="string" name="title" translatable="true">Default</item> <item xsi:type="string" name="description" translatable="true">Default sources selection</item> </item> </argument> </arguments> </type> </config>