Skip to content

Commit

Permalink
Step 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
CNanninga committed Aug 10, 2022
1 parent 7f92e20 commit a613127
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/example-orderexport/README.md
Expand Up @@ -4,3 +4,9 @@ NOTE: This package is a complete example of the OrderExport module and is intend
you intend to follow along with the training course and build the module yourself.

Export orders to the merchant ERP.

## Store Configuration

At Stores > Configuration > Sales > Sales > Order Export:

* **Enabled**
15 changes: 15 additions & 0 deletions src/example-orderexport/etc/adminhtml/system.xml
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<system>
<section id="sales">
<group id="order_export" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Order Export</label>
<field id="enabled" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Enabled</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
</group>
</section>
</system>
</config>

0 comments on commit a613127

Please sign in to comment.