From 535c8f3d03f6c55132b7382b368f77a407eb13e6 Mon Sep 17 00:00:00 2001 From: Gundo Sifhufhi <sifhufhisg@gmail.com> Date: Tue, 20 Dec 2022 09:23:47 +0200 Subject: [PATCH] Composer, Module, System Update --- uafrica/Customshipping/composer.json | 17 ++++++++++++++--- uafrica/Customshipping/etc/adminhtml/system.xml | 12 ++++++------ uafrica/Customshipping/etc/module.xml | 6 ++++++ 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/uafrica/Customshipping/composer.json b/uafrica/Customshipping/composer.json index b900607..75c615f 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 1f4f38d..62408e7 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 d580cd3..b900003 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> -- GitLab