Commerce Shipping provides a framework for calculating shipping rates and selecting shipping services within Drupal Commerce. It integrates with various shipping method modules to offer flexibility in managing shipping scenarios through the checkout and order editing forms.
Commerce Shipping provides a shipping rate calculation system for Drupal Commerce, integrating shipping service selection into both the checkout form and order edit form. This module is a framework that is meant to be used in conjunction with shipping method modules like Commerce Flat Rate, Commerce UPS, and others.
Shipping service availability and rate calculation is handled in the user interface through Rules and is backed up by an API that gives you a high level of flexibility to implement simple or complex shipping scenarios.
Developers and users of this module should use the new and improved Commerce Shipping 2.x version. Sites created using Commerce Shipping 1.x can find notes on what has changed and how to update in the release notes for the Commerce Shipping 2.0 release.
Development sponsored by Reveal IT and Centarro.
Just getting started?
We are still adding to the Commerce Shipping 2.0 user documentation, and there is also a set of screencasts you can watch to learn about the following topics:
- Introduction to Commerce Shipping
- Introduction to Commerce UPS
- Implementing free shipping based on order total / user role
- Implementing per-item shipping using rate calculation rules
- Implementing a discount based on an item in the cart
If you can't find what you need in the documentation or screencasts, consider searching the issue queues or Drupal Answers (using the drupal-commerce tag) to see if your question has been dealt with. General Rules inquiries should not be posted to this module's issue queue. You can always find help on Drupal Slack in the #commerce channel.
Shipping method modules
These modules have been designed to work with Commerce Shipping 2.x. Some require API credentials to retrieve calculated rates from shipping carriers, like UPS and USPS, while modules like Flat Rate simply let you define shipping services on your site with flat base rates that can be manipulated further through Rules.
- Commerce Flat Rate
- Commerce UPS
- Commerce FedEx
- Commerce USPS
- Commerce Canada Post
- Commerce ConnectShip
- Commerce Kiala
If you know of a shipping method module that isn't listed here, please let us know in an issue.
Additional shipping related contributed modules include:
- Commerce Cart Pane (embed the shipping pane on the shopping cart page)
- Commerce Cart Estimate (estimate shipping and taxes on the cart page)
Developer documentation
Documentation for developers can be found in the example module included in the project. It demonstrates how to define a shipping method and how to collect additional information from the user on the checkout form. If you use it as a starting point for your shipping method module, you should copy it to a new folder and rename it so you can continue to update Commerce Shipping 2.x as new releases are created.
The API documentation is currently inline and in commerce_shipping.api.php. We'll be providing a full developer overview as soon as possible.
Depends on
Dependencies of the latest stable release
- Commerce Core
- Commerce Core commerce_order
- Commerce Core commerce_price
- Physical Fields
Required by
19 tracked projects depend on this one
- Commerce USPS 1,638 sites
- Commerce UPS 553 sites
- Commerce Cart Estimate 90 sites
- Commerce Shipping Pickup API 47 sites
- Commerce Printful 42 sites
- Commerce Shipping Label 38 sites
- Commerce Shipping extra weight rate 27 sites
- Commerce Packeta 26 sites
- Commerce Shipping Best Rate 24 sites
- Commerce Shipping Mondial Relay Pick up 14 sites
- Commerce EasyPost 12 sites
- Commerce Shipping Colissimo 12 sites
- Commerce Amazon SP-API 7 sites
- Commerce Time Slots 6 sites
- Commerce Shipping PO Box Condition 4 sites
- Commerce Unleashed 2 sites
- Commerce BaseLinker 2 sites
- Melhor Envio Shipping 1 sites
- Commerce MRW 1 sites
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 3.0.3 | Stable | 10–11 | Jul 22, 2026 | ||
| 3.0.2 | Stable | 10–11 | Feb 16, 2026 | ||
| 3.0.1 | Stable | 10–11 | Feb 12, 2026 | ||
| 3.0.0 | Stable | 10–11 | Feb 12, 2026 | ||
| 3.x-dev | Dev | 10–11 | Sep 9, 2025 | ||
| 8.x-2.15 | Stable | 9–11 | Sep 9, 2025 | ||
| 8.x-2.14 | Stable | 9–11 | May 19, 2025 | ||
| 8.x-2.13 | Stable | 9–11 | May 6, 2025 | ||
| 8.x-2.12 | Stable | 9–11 | Mar 11, 2025 |