Hide Shipping Method Premium

Hide one or multiple shipping methods which can be limited to specific weekdays, by start and end-date or customer sessions.

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.

Features

  • With the option Customers Only the functionality can be restricted to logged in customers only.
  • The option Weekdays, Start Date and End Date allows you to enable or disable shopping methods during a specific time window only.
  • The functionality can be restricted to specific roles via System > Permissions > User Roles. The ACL resource is Stores > Configuration > Hide Shipping Method.
  • The configuration can be found in Stores > Configuration > Sales > Checkout > Hide Shipping Method.

Usage

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.

System Requirements

  • Magento 2.3.x, 2.4.x
  • PHP 5.x, 7.x

History

1.0.2

  • Problem with timezones (strtotime) fixed
  • Datepicker fixed
  • Cleanup various files to follow coding standard (EQP, ECG)

1.0.1

  • Magento 2.4.x compatibility added
  • Composer.json cleanup
  • Add method code to dropdown option

1.0.0

  • Stable version