Shipment Tracking for WooCommerce Documentation



Overview

Shipment Tracking for WooCommerce is a powerful extension that offers customers an effortless way to track their shipments. It actively displays real-time order tracking details in emails, on a dedicated tracking page, and in customer account views. Additionally, shipment tracking for WooCommerce automatically adds tracking information across all customer communications.

Moreover, the plugin supports major carriers like DHL, UPS, FedEx, Royal Mail, DPD, and many more. In addition, you can add custom shipping providers quickly and easily. For further guidance, visit WooCommerce Shipping Documentation.

Adding Tracking Information to Orders

On the order edit/view screen, a new shipment information panel appears. To add tracking information:

  1. Choose a Provider: Select your shipping company from the dropdown. If your provider isn’t listed, add a custom provider via WooCommerce > Settings > Shipping > Shipping Tracking.
  2. Add the Tracking Number: Enter the tracking number provided by the carrier.
  3. Add Tracking: The plugin automatically sends a tracking email to the customer and displays the details on the My Account page.

Adding Custom Shipping Providers

  1. Navigate to the Settings Page: Go to WooCommerce > Settings > Shipping > Shipping Tracking.
  2. Add a New Provider:
    • Enter the Provider Title (e.g., “Shipping Company Name”).
    • Enter the Provider Tracking URL (e.g., https://www.shippingcompany.com/track?code=%s). Use %s as a placeholder for the tracking number. You may also use additional placeholders like %2$s or %3$s for extra data.
  3. Save the Provider:
    • Click the Add Provider button to save the new provider.
  4. Custom Providers on Order Edit Page: Your custom provider will then appear in the Available Providers dropdown when editing an order.



This process lets you expand your shipping provider list with ease.

Hiding Unused Providers

You can dynamically hide tracking providers by unsetting a specific provider or an entire country using a simple code snippet. For more examples, please refer to the WordPress Developer Resources.

<?php

add_filter('wc_shipping_tracking_providers', function (array $providers): array {
    // Remove a specific provider for a specific country
    unset($providers['Australia']['Fastway Couriers']);

    // Optionally, remove an entire country
    unset($providers['United States']);

    return $providers;
});

Default Providers

Country Providers
Australia Australia Post, Fastway Couriers
Austria post.at, dhl.at, DPD.at
Brazil Correios
Belgium bpost
Canada Canada Post, Purolator
Czech Republic PPL.cz, Česká pošta, DHL.cz, DPD.cz
Finland Itella
France Colissimo
Germany DHL Intraship (DE), Hermes, Deutsche Post DHL, UPS Germany, DPD.de
Ireland DPD.ie, An Post
Italy BRT (Bartolini), DHL Express
India DTDC
Netherlands PostNL, DPD.NL, UPS Netherlands
New Zealand Courier Post, NZ Post, Aramex, PBT Couriers
Poland InPost, DPD.PL, Poczta Polska
Romania Fan Courier, DPD Romania, Urgent Cargus
South Africa SAPO, Fastway
Sweden PostNord Sverige AB, DHL.se, Bring.se, UPS.se, DB Schenker
United Kingdom DHL, DPD.co.uk, DPD Local, EVRi, EVRi (International), ParcelForce, Royal Mail, TNT Express, DHL UK
United States DHL US, DHL eCommerce, FedEx, FedEx Sameday, GlobalPost, OnTrac, UPS, USPS

Questions and Support

Is something missing from this documentation? Do you have questions or need further assistance? Please Contact our Support