Hide Shipping Method allows admin users to hide one or multiple shipping methods on the cart and checkout page. This can be limited to specific weekdays, by start and end-date or customer sessions.
- With the option
Customers Only
the functionality can be restricted to logged in customers only. - The option
Weekdays
,Start Date
andEnd Date
information about the server environment such as memory and running tasks. - The functionality can be restricted to specific roles via
System > Permissions > User Roles
. The ACL resource isStores > Configuration > Hide Shipping Method
. - The configuration can be found in
Stores > Configuration > Sales > Checkout > Hide Shipping Method
.
Go to Stores > Configuration > Sales > Checkout > Hide Shipping Method
, enable the feature and select at least one shipping method in section Hide Shipping Method(s)
. Once the feature is enabled, the changes should have affect on the cart and checkout page.
This module is available for free on GitHub or Magento Marketplace.
- Magento 2.1.x, 2.2.x
- PHP 5.x, 7.x
- Add this extension to your repository
composer config repositories.magenizr/magento2-hideshippingmethod git https://github.com/magenizr/Magenizr_HideShippingMethod.git
- Update your composer.json
composer require "magenizr/magento2-hideshippingmethod":"1.0.0"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing magenizr/magento2-hideshippingmethod (1.0.0): Downloading (100%)
Writing lock file
Generating autoload files
- Enable the module and clear static content.
php bin/magento module:enable Magenizr_HideShippingMethod --clear-static-content
php bin/magento setup:upgrade
- Download the latest version of the source code.
- Extract the downloaded tar.gz file. Example:
tar -xzf Magenizr_HideShippingMethod_1.0.0.tar.gz
. - Copy the code into
./app/code/Magenizr/HideShippingMethod/
. - Enable the module and clear static content.
php bin/magento module:enable Magenizr_HideShippingMethod --clear-static-content
php bin/magento setup:upgrade
If you have any issues with this extension, open an issue on Github. For a custom build, don't hesitate to contact us on Magento Marketplace.
Follow us on GitHub, Twitter and Facebook.
===== 1.0.0 =====
- Stable version