There is no standard method/data fields for adding Tracking and Carrier information within WooCommerce but Marketplaces such as eBay require this information.


As there is no standard method in WooCommerce, our solution relies on the shipment information being in one of two places - the Order Notes Field OR the Order Metadata.


To choose which one you want to use, go to 'Settings - WooCommerce Feed - General' and scroll to the section: 'Tracking and Carrier Information'.



1. Order Notes Field


As a first step, you will need to ensure your shipping plugin adds a note such as the example below to the Order Notes field in WooCommerce when the order is marked as shipped:


Order Note Example: This order has been shipped with: Fastway. The Tracking Number is: QB000165979. The Url is: http://www.fastway.com.au/courier-services/track-your-parcel?l=QB000165979 


From this information, we can identify that the Carrier is Fastway and a Tracking Number and then provide it to the marketplace.  


There are already rules set up in Omnivore to extract the Carrier and the Tracking - these can be viewed in the table (screenshot below) found at 'Settings - WooCommerce Feed - General'. 

 

If your Carrier and Tracking is not being imported from WooCommerce by an existing rule, you can create one. Click 'Add a new rule'.


2. Order Metadata


If you are storing the Carrier and the Tracking number in the Order Metadata instead you can go to 'Settings - WooCommerce Feed - General' and enter the metadata fields in the "Custom order and shipment fields" section.  We will be able to extract the values there.  For example, if your Order Metadata contains the shipping information like this:


"meta_data": [
    {
        "id": 16014655,
        "key": "_tracking_number",
        "value": "TEST"
    },
    {
        "id": 16014660,
        "key": "_tracking_company",
        "value": "Test"
    }
],


...you will need to enter these fields into the settings section:


_tracking_number
_tracking_company

 

If however your data is more nested, like this:


"meta_data": [
    {
        "id": 209889,
        "key": "wf_auspost_shipment_source",
        "value": {
            "shipment_id_cs": "33MNW0000104",
            "shipping_service": "australia-post",
            "order_date": "2019-05-01",
            "shipping_postcode": "4053"
        }
    }
],


...you will need to specify the path to the data, using ~~ to join the path elements together.  In this example, you would enter the following into the settings section:


wf_auspost_shipment_source~~shipment_id_cs
wf_auspost_shipment_source~~shipping_service

 


Please raise a support ticket with us if you need help with either of these options.