wc-shipping-providers

Register custom WooCommerce shipping providers via the woocommerce_fulfillment_shipping_providers filter.

21|1|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/Lonsdale201/wp-agent-skills --skill wc-shipping-providers
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: wc-shipping-providers
Source: https://github.com/Lonsdale201/wp-agent-skills/tree/main/woocommerce/wc-shipping-providers
Command: npx skills add https://github.com/Lonsdale201/wp-agent-skills --skill wc-shipping-providers

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Register a custom WooCommerce shipping provider to manage carrier identity and tracking in Fulfillments.

Core Features & Use Cases

  • Create a provider by extending Automattic\WooCommerce\Admin\Features\Fulfillments\Providers\AbstractShippingProvider and implementing the required methods get_key, get_name, get_icon, and get_tracking_url.
  • Register the provider via the woocommerce_fulfillment_shipping_providers filter to expose it in the Fulfillments admin UI and order workflows.
  • Support optional capabilities like get_shipping_from_countries, get_shipping_to_countries, and try_parse_tracking_number for enhanced carrier detection and country-specific routing.
  • Leverage Dependency Injection via the DI container or supply a pre-built instance to integrate with a private carrier or fulfillment service.

Quick Start

Create a class that extends AbstractShippingProvider, implement the required methods, and register it using the woocommerce_fulfillment_shipping_providers filter.

Frequently Asked Questions about wc-shipping-providers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a custom shipping provider to WooCommerce Fulfillments?▼

To add a custom shipping provider to WooCommerce Fulfillments, extend the AbstractShippingProvider class, implement required methods like get_key and get_tracking_url, and register it using the woocommerce_fulfillment_shipping_providers filter.

What methods are required when creating a custom WooCommerce shipping provider?▼

Required methods for a custom WooCommerce shipping provider are get_key, get_name, get_icon, and get_tracking_url. Optional methods include get_shipping_from_countries, get_shipping_to_countries, and try_parse_tracking_number for enhanced carrier detection.

Does WooCommerce Fulfillments support automatic tracking number pattern detection?▼

Yes, WooCommerce Fulfillments supports tracking number pattern detection by implementing the optional try_parse_tracking_number method in your AbstractShippingProvider extension to automatically detect and validate carrier tracking numbers.

Can I use dependency injection when registering a WooCommerce shipping provider?▼

Yes, you can use dependency injection when registering a WooCommerce shipping provider by leveraging the DI container or supplying a pre-built instance to integrate with a private carrier or fulfillment service.

What is the minimum WooCommerce version required for custom shipping provider integration?▼

Custom shipping provider integration in WooCommerce Fulfillments requires WooCommerce 10.1 or higher, applying specifically when adding tracking URLs, country-pair support, and admin filters for private carrier workflows.

How do I restrict a custom WooCommerce shipping provider to specific countries?▼

You restrict a custom WooCommerce shipping provider to specific countries by implementing the optional get_shipping_from_countries and get_shipping_to_countries methods to enable country-specific routing for your carrier.