Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Commerce Shipping Carrier

Security covered Under active development 44 sites

Part of the Commerce ecosystem · 487 projects

This module enables you to define custom shipping carriers and configure their unique URL patterns. When a tracking number is entered for an order, the module uses these patterns to generate direct tracking links for the customer.

The Commerce Shipping Carrier module is a simple module that allows you to add your own shipping carriers and configure the URL patterns to create tracking links similar to what was offered in the simple_package_tracking module for D7. This helps especially where flat rate shipping methods don't support tracking urls.

Installation

  1. Install the module.
  2. Go to Configuration >> Shipping >> Carriers, or @ /admin/commerce/config/shipping_carriers to create a carrier.
  3. In the URL pattern, Use [tracking_code] where the tracking number should appear in the URL for that specific carrier.

The carriers you create will be available to select from when you create shipments for an order. They will take the tracking number you provide, and format the number into a tracking link.

You can also add {{ shipment_entity.shipping_carrier.entity.label }} to the commerce-shipment-confirmation.html.twig template file in a custom module to display the shipping carrier in the shipping confirmation email.

Or something like this:

{% if shipment_entity.shipping_carrier.target_id is not null %}
  'Shipping carrier:'
  {{ shipment_entity.shipping_carrier.entity.label }}
{% endif %}
Drupal 10–11

Ask your assistant about Commerce Shipping Carrier

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Jan 2023
Latest release
1 day ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.0.0 Stable 10–11 Oct 14, 2026
3.0.x-dev Dev 9–11 Oct 9, 2026
1.0.0-alpha3 Pre-release 9–11 Jan 26, 2025
1.0.0-alpha2 Pre-release 9–10 Jan 27, 2023