WooCommerce
How to integrate WooCommerce
- Navigate to Navigate to the Portal Settings -> Notification Settings ->Integrations tab.
- Click Add an integration.
- Select WooCommerce.
- Enter your website URL.
- Find your Consumer Key and Secret.
Follow the instructions in the WooCommerce documentation - Choose the plugin needed to retrieve tracking number information (see plugin section below).
- Click Connect.
Tracking number plugin with WooCommerce
Therefore, to enable ZigZag to retrieve this information, we have set up what we call plugins.
We have 3 plugins to retrieve tracking information. The plugin required for your WooCommerce integration will depend on your store's configuration.
First plugin - Shipment tracking plugin This plugin must be selected if your WooCommerce store uses a shipment tracking module. If this module is installed on your platform, there is nothing else to do. Otherwise, please refer to the other plugins below.
Second plugin - Shipup plugin This plugin uses order metadata attributes to store tracking number information.
For this plugin to work, you need to store the tracking number and carrier information in a metadata named "shipuptracking". This metadata must be an array of objects with 3 possible keys:
- tracking_number - tracker tracking number
- carrier_code - a ZigZag carrier code from the list of available codes
- untracked_carrier_name - if the carrier is not available in the list above, you can enter the carrier's name in this value
Example:
{
"id": 1234,
"meta_data": [
{
"id": 4567,
"key": "_shipup_tracking",
"value": [
{
"tracking_number": "ABC123",
"carrier_code": "colissimo"
},
{
"tracking_number": "987654321",
"untracked_carrier_name": "Carrier not in list"
}
]
}
]
}
Third plugin: Custom fields plugin This plugin uses order metadata attributes to store tracking number information. For this plugin to work, you need to store the tracking number and carrier information in the order metadata.
You'll need 2 pieces of metadata, one with the tracking number and another with the carrier's name.
You can configure the key names for the 2 pieces of metadata in Shipup.
Example:
{
"id": 1234,
"meta_data": [
{
"id": 4567,
"key": "track",
"value": "ABC123"
},
{
"id": 4567,
"key": "carrier",
"value": "Colissimo"
}
]
}