Extension hides any other shipping methods if free shipping is available.
Magento CE(EE) 2.0.x, 2.1.x, 2.2.x, 2.3.x, 2.4.x
-
Go to Magento2 root folder
For Magento CE (EE) 2.0.x, 2.1.x, 2.2.x, 2.3.x
composer require faonni/module-shipping-tweaks:2.0.*
For Magento CE (EE) 2.4.x
composer require faonni/module-shipping-tweaks:2.4.*
Wait while dependencies are updated.
-
Enter following commands to install module:
composer require faonni/module-shipping-tweaks
Wait while dependencies are updated.
-
Create a folder {Magento root}/app/code/Faonni/ShippingTweaks
-
Download the corresponding latest version
-
Copy the unzip content to the folder ({Magento root}/app/code/Faonni/ShippingTweaks)
-
Go to Magento2 root folder
-
Enter following commands:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy (optional)
In the Magento Admin Panel go to Stores > Configuration > Sales > Shipping Settings > Behavior of Methods.
This works only with modules defined as Composer packages.
-
Go to Magento2 root folder
-
Enter following commands to remove database data:
php bin/magento module:uninstall -r Faonni_ShippingTweaks
-
Go to Magento2 root folder
-
Enter following commands to remove:
composer remove faonni/module-shipping-tweaks
-
Go to Magento2 root folder
-
Enter following commands:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy (optional)