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 to install both of the integrations so all of the features are available to use.
The differences for these integrations are listed below.
Plugin in WooCommerce:
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.
By installing the WooCommerce integration on myOGO, the products and orders are visible on the sync page. This feature is not available on the plugin in WooCommerce.
Go to WooCommerce settings --> advanced and click on "REST API".
Click 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.
Go to myOGO and add WooCommerce integration on the edit merchant page. Copy your online store URL, API key, and secret key to myOGO integration. You can find your online store URL on the Wordpress settings.
Enable scheduled latest changes update. 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.
Read more about product sync page.
If the integration somehow isn't working, please check the 'Legacy REST API'. This setting needs to be enabled in order for the integration to work.
Next step is to set up the shipping methods.
Go to your Market Place and search for OGOship plugin. Install and activate it.
Edit merchant settings under Globe icon => Edit merchant.
Copy Merchant ID and API Secret Token from myOGO Merchant page and add them to WooCommerce general settings.
Then click to export products to OGOship.
Once the integration is completed successfully shipping methods at your online store need to be linked to the shipping methods provided at myOGO.
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.
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.
After you have shipped physical products to OGOship and stock values are correct, then remember to enable scheduled updates.
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 \.
Add stock value on the product page to demo position for testing.
Now you can read stock value on products page. Loading can take a few minutes.
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.
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.