Install the shipping module
To begin using the shipping module with the checkout starter kit, ensure that you have completed the getting started and configuration steps.
For more ideas on how you can use the shipping module, refer to shipping use cases.
Prerequisites
- Adobe Commerce on cloud infrastructure or on-premises: 2.4.5+
- PHP 8.1+
- Magento Open Source is not supported.
Installation
data-src=/_includes/checkout-version.md
To enable out-of-process shipping methods in Adobe Commerce, install the magento/module-out-of-process-shipping-methods module using the following command:
composer require magento/module-out-of-process-shipping-methods --with-dependencies
Configuration
data-src=/_includes/checkout-configuration.md
The starter kit provides the create-shipping-carriers script to help configure Adobe Commerce. It reads the shipping carriers configuration from the shipping-carriers.yaml file and creates the shipping carriers in Adobe Commerce.
To run this script, use the following command:
npm run create-shipping-carriers
To retrieve shipping carriers from Commerce, use the get-shipping-carriers script:
npm run get-shipping-carriers