Skip to content

About

Free Magento 2 / Mage-OS module: manage your own carriers (BRT, GLS, SDA...) with tracking URL templates, so tracking numbers link to the carrier page in emails, orders and admin.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Threecommerce_ShippingCarriers: your own carriers and tracking links for Magento 2 / Mage-OS

Manage your own list of carriers (BRT, GLS, SDA...) in the admin. They appear in the carrier dropdown when you add a tracking number to a shipment, and the tracking number links straight to the carrier's tracking page in emails, order pages and the admin.

Admin grid of shipping carriers with code, tracking URL, status and sort order

Compatibility: Magento Open Source / Adobe Commerce 2.4.4 – 2.4.9 · Mage-OS 1.x / 3.x · PHP 8.1 – 8.5 · Themes: Luma, Hyvä, Breeze License: free · Current version: see Releases

Features

  • Admin grid under Sales → Operations → Shipping Carriers: name, code, tracking URL template, active flag and sort order.
  • Add tracking: active carriers show in the carrier dropdown of "Add Tracking Number" on the shipment page and the title is filled in automatically.
  • Links to the carrier page in shipment emails, order and shipment pages (Luma, Hyvä, Breeze) and the admin; the store tracking popup shows the link too.
  • URL placeholders: {tracking_number}, {postcode}, {firstname}, {lastname}, {country} (shipping address) and {order_number}, URL-encoded; the #TRACKNUM#-style forms of other modules work too.
  • Enabled switch and inline editing / mass actions in the grid.
  • Hide standard carriers: Stores → Configuration → Threecommerce Plugins → Shipping Carriers lets you remove Magento's own carriers (UPS, FedEx, DHL, USPS, Custom Value...) from the dropdown, so staff only see the ones you use.
  • REST API: GET /V1/shipment/:id and GET /V1/shipments return the final tracking_url in the extension_attributes of each track; GET /V1/threecommerce-shipping-carriers[/:code] returns the carriers list, POST creates or updates a carrier by code and DELETE /:code removes it. Handy to keep an ERP or a WMS in sync.
  • Nine common Italian carriers are created inactive on install: enable the ones you use and check their URLs.
  • Carriers from other modules (UPS, FedEx...) configured in Stores → Configuration keep working as before.

Carrier edit form with name, code and tracking URL template

Add Tracking Number on a shipment with the custom carriers in the dropdown

Requirements

  • Magento Open Source / Adobe Commerce 2.4.4+ or Mage-OS
  • PHP 8.1 – 8.5
  • Magento modules: Backend, Sales, Shipping, Ui

Installation

The package is distributed through our Composer repository at repo.threecommerce.it. Request the credentials from the product page, then:

composer config repositories.threecommerce composer https://repo.threecommerce.it
composer require threecommerce/m2-shipping-carriers
bin/magento module:enable Threecommerce_ShippingCarriers
bin/magento setup:upgrade
bin/magento cache:flush

Configuration

Admin → Sales → Operations → Shipping Carriers; standard carriers can be hidden from the dropdown in Stores → Configuration → Threecommerce Plugins → Shipping Carriers. The carrier code is stored on the shipment track, so it cannot be edited after creation. Deleting a carrier keeps old tracking numbers but they lose the link: disable it instead.

Documentation and support


This repository is the public showcase of the module. The source code is kept in a private repository.

About

Free Magento 2 / Mage-OS module: manage your own carriers (BRT, GLS, SDA...) with tracking URL templates, so tracking numbers link to the carrier page in emails, orders and admin.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors