Connect Odoo with Shopify
Introduction
There are many e-commerce platforms, but Shopify is one of the most popular. Shopify helps you create your own online store with ease and start selling your products worldwide in just a few minutes. It’s also easy to integrate with other systems, such as Odoo. In this tutorial we’ll show how to connect Odoo with Shopify using Odoo Connector for Shopify (OCS).
STEP 1 – INSTALL ODOO
First, you need to download and install Odoo. The best way to do this is from the official website at https://www.odoo.com/download/. There, you’ll find a number of different versions of the program available for download–you’ll want the “Community Edition” version if you’re just getting started with a small business. Once it’s downloaded onto your computer and installed, open up the program by double-clicking on its icon in Finder (or whatever your operating system’s equivalent may be).
STEP 2 – CONFIGURE ODOO
Step 2 – Configure Odoo
In order to connect your server with Shopify, you will need to log in to it via SSH. The process is simple and straightforward. First, open the terminal on your computer and type:
- sudo su –
- odoo
- odoo-bin
STEP 3 – CREATE SHOPIFY API KEY
Step 3: Create a Shopify API Key
In order to connect Odoo to your Shopify store, you’ll need to create an API key. You can do this by going to https://developer.shopify.com/apps and clicking “Create App.” Once there, select “Web” as your platform and give your app a name (I called mine “Odoo-Shopify Integration”). Once you’ve created it, click on “API Keys” on the left side of the screen under Settings and then click on Add New Key as shown below:
STEP 4 – CREATE SHOPIFY API CUSTOMER API KEY
Once you have created an api key in Shopify, it’s time to create one in Odoo. To do this, log into your Odoo account and navigate to Settings -> Sales Channel Integration. From here we will select Shopify as our sales channel and click on “Create Key”.
After clicking on “Create Key” you will be able to give your API key any name (e.g., “Shopify”) and then click “Create”.
STEP 5 – OPEN CUSTOMER API KEY IN YOUR SHOPIFY ACCOUNT AND CLICK TO ENABLE IT
Once you have your Shopify account set up and the customer API key enabled, it’s time to link Odoo with your Shopify store. Open the Odoo “Customers” module and click on “Linked Accounts.” Then select “Shopify” as your platform and enter your customer id in the field labeled “Customer ID.”
You will also need to enter your Shopify API Key that we got from step 4 above into the field labeled “API Key.” If everything looks correct, click on the green button at bottom right labeled “Link Account”
STEP 6 – CREATE STORE AND PRODUCTS IN ODOO
Step 6: Create Store and Products in Odoo
- Go to “Sales > Sales Order” from the top menu.
- Select a product from the list of products created by Shopify (you can use this tutorial if you want to create your own) and click on “Create New Sales Order”.
- Fill all the details required for this order such as product name, quantity ordered, price etc., then click on Save button at bottom right corner of page to save your changes
STEP 7 – ADD AND EDIT PRODUCTS IN SHOPIFY
To add products to Shopify, follow these steps:
- Click “Products” in the left menu and then click “Add Product.”
- Fill out the form with your product details (name, description and price). You can also choose whether this item should be sold individually or as part of a collection. If it’s part of a collection then you’ll need to select which one before proceeding here!
- Click Save once done editing all your information.
STEP 8 – TEST THE CONNECTION AND ENJOY YOUR NEW STORE!
Now it’s time to test the connection and enjoy your new store!
To do this, go to Shopify’s admin page. You’ll see a button labeled “Apps” in the left-hand sidebar:
Click on this button and then select “Connect Apps”. You’ll see a list of all apps that are currently installed on your store; if you haven’t already done so, add Odoo as an app by clicking Add New App at the top right of this page:
Conclusion
And that’s it! You should now have a fully working store that is connected to Odoo. The next step is to go through the Shopify Dashboard and check out all your products.