NOTE: This repository has moved to https://github.com/magenizr/Magenizr_CustomShipping and will be continued there.
This Magento 2 module allows you to provide a custom shipping method in backend only, frontend only or both. With the Scheduler
feature you can manage the availability automatically. In the following screenshots you can see an example Free - December Special
for $0.00
.
- Add this extension to your repository
composer config repositories.tobias-forkel/magento2-customshipping vcs https://github.com/tobias-forkel/Magento2_CustomShipping.git
- Update your composer.json
composer require "tobias-forkel/magento2-customshipping":"1.2.1"
./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 tobias-forkel/magento2-customshipping (1.2.1): Downloading (100%)
Writing lock file
Generating autoload files
- Pull the code.
- Copy the code in
./app/code/Forkel/CustomShipping/
. - Enable the module and clear static content.
php bin/magento module:enable Forkel_CustomShipping --clear-static-content
php bin/magento setup:upgrade
- The option
Backend
,Frontend
orBackend / Frontend
allows you hide or display the custom shipping method in frontend or backend. - The option
Customer
allows you to display the custom shipping method for logged in customers only. - With
Scheduler
you can manage the availability automatically by using theStart Date
orEnd Date
field. Frequency
allows you to enable the custom shipping method on specific weekdays only.- With
Hide Other Shipping Methods
you can disable other shipping methods if Custom Shipping is available. - Customizable
Method Name
andMethod Title
. - Customizable
Price
. Default is0.00
.
The functionality can be used in the backend section Stores > Configuration > Sales > Shipping Methods > Custom Shipping
.
If you have any issues with this extension, open an issue on Github. For a custom build, please contact me on http://www.tobiasforkel.de.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
. - Commit your changes:
git commit -am 'Add some feature'
. - Push to the branch:
git push origin my-new-feature
. - Submit a pull request.
Follow me on GitHub and Twitter.
===== 1.2.1 =====
- Fix composer.json
===== 1.2.0 =====
- Added new feature
Hide Other Shipping Methods
that allows you to disable other shipping methods if Custom Shipping is available. - Code improvements
===== 1.1.0 =====
- Added new feature
Scheduler
that allows you to enable and disable automatically. You can choose betweenStart Date
andEnd Date
, which you can combine withFrequency
. - Code improvements
===== 1.0.1 =====
- Code improvements in Model\Carrier\Custom
- Added new option
Customer
that allows you to display the custom shipping method for logged in customers only.
===== 1.0.0 =====
- Stable version of this module