Order fulfillment and tracking
The Order fulfillment statuses module in Polski PRO adds Packed, Shipped and Delivered order statuses to WooCommerce, a carrier and tracking number field on each order, and a customer email each time an order enters one of those statuses. It is off by default; enable it under Polski > Modules. Live carrier status needs that carrier's integration configured.
New order statuses
Section titled "New order statuses"Once the module is enabled, orders can move through the following statuses:
Pending > Processing > Packed > Shipped > Delivered > Completed| Status | Slug | Badge color | Text shown to the customer |
|---|---|---|---|
| Packed | wc-packed |
Blue | Your order is packed and waiting for handover to the carrier. |
| Shipped | wc-shipped |
Yellow | Your parcel is on the way. Use the tracking link below for the latest updates. |
| Delivered | wc-delivered |
Green | The shipment has been marked as delivered. |
The statuses are inserted right after "Processing" in the WooCommerce status list. A Packed order still counts as payable, so the customer can pay for it from My Account (for example a cash on delivery order).
Configuration
Section titled "Configuration"- Go to Polski > Modules
- Enable the Order fulfillment statuses module (group Checkout and Orders)
The module has no settings of its own. The statuses, tracking field and emails work as soon as it is on.
Shipment tracking field
Section titled "Shipment tracking field"In the order editor, below the shipping address, a Shipment Tracking section appears:
| Field | Order meta key | Description |
|---|---|---|
| Carrier | _polski_shipping_carrier |
InPost, DPD, DHL, Poczta Polska or Other |
| Tracking number | _polski_tracking_number |
Waybill number |
| Tracking URL | _polski_tracking_url |
Generated from carrier and number if left empty |
When you save the order, a URL you typed yourself is kept as is. If the URL field is empty, the module builds one from the carrier and tracking number. The "Other" carrier has no URL pattern, so enter the link by hand.
Automatic tracking links
Section titled "Automatic tracking links"| Carrier | URL format |
|---|---|
| InPost | https://inpost.pl/sledzenie-przesylek?number={number} |
| DPD | https://tracktrace.dpd.com.pl/findPackage?q={number}&typ=PARCEL_REFERENCE_NUMBER |
| DHL | https://www.dhl.com/pl-pl/home/sledzenie-przesylek.html?tracking-id={number} |
| Poczta Polska | https://emonitoring.poczta-polska.pl/?numer={number} |
Live carrier status
Section titled "Live carrier status"For InPost, DPD, DHL and Poczta Polska the module asks the carrier for the current parcel status when that carrier's Polski PRO integration is available (for InPost: enabled with an API token saved, see InPost shipping). An answer with a status or events is cached for 10 minutes; an empty or failed answer is not cached, so the next render asks again. The order editor shows a "Live preview" with a Refresh live tracking button that clears the cache and asks again. When the carrier returns events, up to 8 of them appear as "Shipment history" with date and location.
Where tracking appears
Section titled "Where tracking appears"| Place | What is shown |
|---|---|
| Orders list (admin) | A "Tracking" column after the status: carrier, tracking number, live status and a "Track" link |
| My Account, Orders | A "Track shipment" button when a tracking URL exists |
| Order details page | A "Shipment Tracking" box with status, carrier, number, link and shipment history |
| Customer WooCommerce emails | The same box after the order table (not added to admin emails) |
The box shows only when the order has a tracking number or a tracking URL.
Email notifications
Section titled "Email notifications"When an order enters Packed, Shipped or Delivered, the module sends a plain text email to the billing email address with wp_mail():
| Status | Subject |
|---|---|
| Packed | Your order has been packed |
| Shipped | Your order has been shipped |
| Delivered | Your order has been delivered |
The message contains the order number, the new status and a link to the order in My Account. Carrier, tracking number and tracking link are added only when a tracking number is set. No email goes out if the order has no billing email.
Bulk actions
Section titled "Bulk actions"The orders list provides bulk actions:
- Change status to Packed
- Change status to Shipped
- Change status to Delivered
Select multiple orders and choose an action from the dropdown menu.
Compatibility
Section titled "Compatibility"The module registers its column and bulk actions for both WooCommerce HPOS (Custom Order Tables) and classic post-based orders. Live tracking uses the Polski PRO carrier integrations for InPost, DPD, DHL and Poczta Polska.
Can I edit the Packed, Shipped and Delivered emails in WooCommerce > Settings > Emails?
Section titled "Can I edit the Packed, Shipped and Delivered emails in WooCommerce > Settings > Emails?"No. They are sent directly with wp_mail() as fixed plain text, so they are not in the WooCommerce email list. The tracking box added to standard customer emails uses your WooCommerce email template.
Why does the order show only the link and no carrier status?
Section titled "Why does the order show only the link and no carrier status?"Live status needs the matching Polski PRO carrier integration enabled with its credentials. Without it, or with the "Other" carrier, the module shows the tracking number and link only.
Do I have to fill in the tracking URL?
Section titled "Do I have to fill in the tracking URL?"No. Pick InPost, DPD, DHL or Poczta Polska and enter the number; the URL is built on save. Fill it in only for "Other" or to replace the generated link.
Is there a filter to change the tracking URL patterns?
Section titled "Is there a filter to change the tracking URL patterns?"No. The patterns are fixed in the module. To use a different link, type it into the Tracking URL field or write the _polski_tracking_url order meta from your own code.