diff --git a/uafrica/Customshipping/composer.json b/uafrica/Customshipping/composer.json index b900607992c43bc0c84bc13d8bb9594d8105fcd1..75c615fa55d1ecd8873be825e26575fa0619752e 100644 --- a/uafrica/Customshipping/composer.json +++ b/uafrica/Customshipping/composer.json @@ -5,16 +5,27 @@ "version": "1.0.0", "authors": [ { - "name": "Gundo Sifhufhi", + "name": "Gundo", "email": "gundo@bob.co.za", "homepage": "https://www.bob.co.za" } ], "license": [ - " Apache-2.0" + "AFL-3.0", + "OSL-3.0" ], "require": { - "php": "~5.5.0|~5.6.0|~7.0.0|~7.1.0" + "php": "~5.5.0|~5.6.0|~7.0.0|~7.1.0", + "magento/framework": "102.0.*", + "magento/module-backend": "101.0.*", + "magento/module-catalog": "103.0.*", + "magento/module-config": "101.1.*", + "magento/module-directory": "100.3.*", + "magento/module-quote": "101.1.*", + "magento/module-sales": "102.0.*", + "magento/module-sales-rule": "101.1.*", + "magento/module-shipping": "100.3.*", + "magento/module-store": "101.0.*" }, "autoload": { "files": [ diff --git a/uafrica/Customshipping/etc/adminhtml/system.xml b/uafrica/Customshipping/etc/adminhtml/system.xml index 1f4f38d0abea2d5b83c92e1565d00be872d88b57..62408e7afe1f72f6b639b5098cafd67dbf7f44ef 100644 --- a/uafrica/Customshipping/etc/adminhtml/system.xml +++ b/uafrica/Customshipping/etc/adminhtml/system.xml @@ -22,10 +22,10 @@ <label>Version</label> <frontend_model>uafrica\Customshipping\Block\System\Config\Form\Field\Version</frontend_model> </field> - <!--<field id="enabled" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1"> + <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>--> + </field> <field id="debug" translate="label" type="select" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1"> <label>Debug Mode</label> <source_model>Magento\Config\Model\Config\Source\Yesno</source_model> @@ -40,10 +40,10 @@ <label>Version</label> <frontend_model>uafrica\Customshipping\Block\System\Config\Form\Field\Version</frontend_model> </field> -<!-- <field id="active" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="0">--> -<!-- <label>Enabled</label>--> -<!-- <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>--> -<!-- </field>--> + <field id="active" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="0"> + <label>Enabled</label> + <source_model>Magento\Config\Model\Config\Source\Yesno</source_model> + </field> <field id="title" translate="label" type="text" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1"> <label>Title</label> </field> diff --git a/uafrica/Customshipping/etc/module.xml b/uafrica/Customshipping/etc/module.xml index d580cd3b909a81799b5ec990da15cf0b34935e03..b900003cea8e62d457381312517174ec1e1841b2 100644 --- a/uafrica/Customshipping/etc/module.xml +++ b/uafrica/Customshipping/etc/module.xml @@ -8,5 +8,11 @@ --> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="uafrica_Customshipping" setup_version="1.0.0"> + <sequence> + <module name="Magento_Store"/> + <module name="Magento_Sales"/> + <module name="Magento_Quote"/> + <module name="Magento_SalesRule"/> + </sequence> </module> </config>