WooCommerce integration

Please note, that Woocommerce version minimum requirement is Woocommerce 4.5.

 

There are two ways to integrate WooCommerce to myOGO; by installing the integration on the myOGO site or by installing the plugin in WooCommerce. We recommend installing both of the integrations so all of the features are available to use. The differences between these integrations are listed below.

If you have installed the plugin on the WooCommerce site earlier, you can install the integration on the myOGO site as well. You can have the two integrations installed at the same time (this is recommended) or you can deactivate the plugin. 

 

Plugin in WooCommerce:

  • installed in WooCommerce
  • sends the information to myOGO
  • OGOship product and order fields are added to WooCommerce UI
  • adds tracking links to customer email
  • product sync page and order sync page are not available

myOGO integration:

  • installed in myOGO
  • fetches the information from WooCommerce
  • tracking links to customer email is not available
  • product sync page and order sync page are available

 

1. Installing integration on myOGO

              

Getting API key and secret.

Go to your store's admin page and select WooCommerce → Settings → Advanced page and click on REST API.

Click Add key to add new API key.

Give the key a name, description and give the permission to read and write. Then click Generate API key. WooCommerce will create the key automatically.

Copy and save the Consumer key and Consumer secret. They can not be accessed again but new keys can be created later. Also safe your site's URL which can be found in Settings page. These will be used in the integration.

     

Adding site url, key and secret to Myogo

Go to myOGO Edit merchant page and select Integrations. Click on New integration and select WooCommerce from the list.

Copy your online store URL, Consumer key and Consumer secret to myOGO integration.

Fill in:

  • Site's Url (in format https://yoursitename.com)
  • Key (Consumer key)
  • Secret key (Consumer secret)

Remember to enable scheduled latest changes update after the goods are in stock. If you are using the plugin at the same time, ignore this setting.

Note that if the Ignore products missing from OGOship is enabled, the setting will ignore all the products missing from OGOship and will not add them to the orders. The safer option is to ignore certain products, e.g. if you want to send them yourself, ignore them one-by-one on the product sync page. Enable automatic changes only after the goods are in stock.

If the integration somehow isn't working, please check the Legacy API. This setting needs to be enabled in order for the integration to work.

Make sure that by default the following settings in Settings → General are not selected. By default the integration will work as intended without these selected.

Next step is to set up the shipping methods.

 

2. Installing plugin

 

Go to your Market Place and search for OGOship plugin. Install and activate it.

 

Link myOGO merchant to WooCommerce

Edit merchant settings under Globe icon → Edit merchant.

Copy Merchant ID and Secret Token from myOGO Merchant page and add them to WooCommerce general settings.

Then click to export products to OGOship.

 

3. Synchronizing products

Once the integration is set up, go to the ProductsSync webshop products. If the products are not yet visible, click Refresh

When the products are visible on the WooCommerce side of the page, click on all, or the desired products, and select Create product. Read more about the product sync page.

 

If you don't want to send every product to OGOship, check the box Do not export to OGOship on the product page.

In the products must be enabled to stock management at product level and individual sku.

 

If you are selling variable products, remember also to set a different sku for each one. Otherwise it won't transfer to myOGO. Do not use characters / or \.

 

Verify Plugin

Once you have goods in stock, you may verify the plugin with stock sync in WooCommerce, click to upload product info from OGOship to WooCommerce.

Go to product page to check stock value.

Enable stock management at product level has to be checked before uploading product info from OGOship for stock value to be correct. If not, go to myOGO and mark all products as modified and then click to upload product info from OGOship to WooCommerce again.

 

4. Setting up shipping methods

Shipping methods that you offer at your online store need to be linked to specific shipping methods provided at myOGO in order to gain full automation.

The linking can be done by using the shipping method name that has been set for the shipping method in your online store. Enable shipping method from the list on myOGO edit merchant page, and copy the name from your online store.

Remember to link every shipping method individually to certain shipping methods on myOGO.

 

The "*" special character can be used as a wild card in the text or code. E.g.

  1. "DHL*" matches to "DHL-1" and "DHL-test"
  2. "D*L" matches to "DtestL" and "DYL"

 

We offer a large variety of shipping methods.

DHL offers worldwide fast delivery
Omniva is a cheaper and slower option to ship internationally
GLS ships to Europe

Go to WooCommerce settings and select Shipping. Add shipping zones. These can be optimized with country (include or exclude). E.g. Finland, Europe, Non-EU.

Add one or more shipping methods to the shipping zone. These methods are shown to people in the specific zone.

Add cost and OGOship delivery type.

The "OGOship Delivery Type" on the bottom is going to be removed in the future, so please ignore this option.

After all of the shipping methods in your online store are linked to OGOship shipping methods, your setup is done. For more information read Shipping Methods.

Note!

After you have shipped physical products to OGOship and stock values are correct, then remember to enable scheduled updates.

 

5. Tips

If the orders are not transferred to myOGO check the following settings in WooCommerce. Orders can be also sent manually to myOGO. If the order is not transferred to myOGO there will be an error message on the Order notes.

Common reason for order not transferring is, that the ordered product has no SKU, or the setting on the product page Do not export to OGOship is on. Also on the WooCommerce settings page the setting Automatically send orders to OGOship needs to be on.