TABLE OF CONTENTS
- Order Management
- Order Settings
- Adding Tracking and Carrier Information in WooCommerce
- How to use the Order Notes field in WooCommerce
- Using Omnivore preformatted rules
In Omnivore go to Settings ->Administration -> Order Management
There are two Order Settings options available for WooCommerce version 2.6.0 or higher:
Mark orders as shipped if carrier and tracking code is not provided
By default, once the order status is "Completed" in WooCommerce, we will mark it as shipped and tell the marketplace that the order is shipped, regardless of whether or not it has shipper and tracking code information.
DO NOT mark an order as shipped unless carrier and tracking code is provided
If your business process is to mark the order as complete and then add this information then tick DO NOT mark an order as shipped unless carrier and tracking code is provided so that we will hold the order as pending until we see the shipping information, even if the order is "Completed". Please note if this is ticked and you do NOT provide tracking details your orders will remain as pending Shipment in the marketplace.
If you want the channel that the order has come from to be added into a metadata field in the order, add the metadata field name in the Marketplace channel field. You can then refer to this to separate out orders from different marketplaces in WooCommerce. Go to Omnivore ->Settings ->Woocommerce -> Order Settings
Adding Tracking and Carrier Information in WooCommerce
There is no standard method/data field to add Tracking and Carrier information within WooCommerce, but Marketplaces such as eBay, Catch and Amazon require this information.
As there is no standard method in WooCommerce, our solution relies on the shipment information being in one of two places. Please check which one works for you!
How to use the Order Notes field in WooCommerce
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
Omnivore has a table which has a number of preformatted rules which can extract the Tracking and Courier Information (or you can add your own)
Using Omnivore preformatted rules
The easiest option is to add the information using preformatted rules eg the preformatted Fastway au rule is
If your order notes were:
Track your order at https://fastway.com.au/courier-services/track-your-parcel?l=QB000165979
The Fastway rule above would see that fastway.com.au is in the text and that a tracking code could be extracted between '/track-your-parcel?l=' and the end of the text
Add or Editing an existing rule
If your Carrier and Tracking is not being input in WooCommerce in exactly the same format as an existing rule, you can add or edit and existing rule one.
To add a new rule click Add a new rule, which can be found at the bottom of the rule list
To edit an existing custom rule click 'edit' at the right of the rule.
A new window will open
Fill in these details
- Rule is for carrier, add the carrier which this rule is applicable.
- The text that identifies the carrier
- The text that identifies the start of the tracking code
- The text that identifies the end of the tracking code. This can be left empty if there is no text after the tracking code
- Hit "Save"
Sending Tracking via WooCommerce Order metadata
If you are storing the shipper and the consigment shipping number in the order metadata instead you can go to
Omnivore-> Settings ->WooCommerceFeed ->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 looks contains the shipping information like this:
...you will need to enter these fields into the settings section in Omnivore ( Settings->WooCommerceFeed ->General):
e.g.If however your data is more nested, like this:
...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: