-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from magento-engcom/source-management-ui-lars
work on region fields, system configuration of default carriers
- Loading branch information
Showing
5 changed files
with
64 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd"> | ||
<system> | ||
<section id="inventory" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1"> | ||
<label>Inventory (MSI)</label> | ||
<tab>catalog</tab> | ||
<resource>Magento_Inventory::inventory</resource> | ||
<group id="inventory_source_carriers" translate="label" sortOrder="100" showInDefault="1" showInWebsite="0" showInStore="0"> | ||
<label>Source default carrier config</label> | ||
<field id="use_enabled_carriers" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0"> | ||
<label>Use Enabled Carriers</label> | ||
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model> | ||
</field> | ||
<field id="inventory_source_default_carrier_config" type="multiselect" translate="label" sortOrder="100" showInDefault="1" showInWebsite="0" showInStore="0"> | ||
<label>Specify Carriers</label> | ||
<source_model>Magento\Inventory\Model\OptionSource\CarrierSource</source_model> | ||
<can_be_empty>1</can_be_empty> | ||
<comment>Use Ctrl+click for unset value</comment> | ||
<depends> | ||
<field id="use_enabled_carriers">0</field> | ||
</depends> | ||
</field> | ||
</group> | ||
</section> | ||
</system> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd"> | ||
<default> | ||
<inventory> | ||
<inventory_source_carriers> | ||
<use_enabled_carriers>1</use_enabled_carriers> | ||
</inventory_source_carriers> | ||
</inventory> | ||
</default> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters