odoo-integration-with-woocommerce.png
Blogger_636320539465153750.jpg
By: Nikhil Krishnan

Odoo Integration with WooCommerce

WooCommerce is an e-commerce plugin used in WordPress for the e-commerce solution. It helps you to sell anything, beautifully through e-commerce. WooCommerce gives both store owners and developers complete control. That's why it is most popular and commonly used. 

Odoo is ready to communicate with this Woocommerce, the front end side handled by woo-commerce and the backend is handled by Odoo, it will create a magic and make easier the owners handle their business.
To integrate odoo with woo-commerce, first, we need to install WordPress in Ubuntu.


WORDPRESS

-WordPress is a completely open source website creation tool written in PHP.
-WordPress is the most popular CMS (content management system) on the internet.
-It allows you to easily set up flexible blogs and websites on top of a MySQL backend with PHP processing.
-WordPress has seen incredible adoption and is a great choice for getting a website up and running quickly.

How to install Wordpress in Ubuntu?

Step One — Installing lamp server
         $ sudo apt-get install lamp-server

-While installing, you need to configure the mysql-server-5.5 password.

-Enter  a new password in shown field

odoo-integration-with-woocommerce-1-cybrosys

- After installation, Enter Localhost on the browser.

- You can see a form as shown below

odoo-integration-with-woocommerce-2-cybrosys

Change default localhost directory

- You need to change default localhost directory

odoo-integration-with-woocommerce-3-cybrosys


 $ sudo nano '/etc/apache2/sites-available/000-default.conf

odoo-integration-with-woocommerce-4-cybrosys

Change document root as shown in figure ‘/var/www’

enter CTRL + O  to save and  CTRL + X to exit

$ sudo nano '/etc/apache2/apache2.conf'

odoo-integration-with-woocommerce-5-cybrosys

Change <Directory /var/www/html to  /var/www/

Now restart Apache
  
$sudo service apache2 restart


Step 3- Download wordpress in /var/www
Follow the below comments to download the .tar.gz file and extract it.
$cd  /var/www
$sudo  wget http://wordpress.org/latest.tar.gz
$sudo tar latest.tar.gz

Step 4- Create a new SQL database
For creating a new SQL database we will switch into MySQL user. And create a database by following the commands.

$ mysql -u root -p
mysql> CREATE DATABASE;
mysql> FLUSH PRIVILEGES;
mysql>exit

Step 5 -Configure WordPress in localhost/WordPress

Enter 'localhost/WordPress' in any browser for getting the WordPress window.
There is a form to fill by database name, user name, and password, host, table prefix and continue.


odoo-integration-with-woocommerce-6-cybrosys

- you can see a bug.

- Just do as mention in this page. It is the common issue


odoo-integration-with-woocommerce-7-cybrosys

- Just create a wp-config.php file with the above text.

- Now you click to run the install.

- A new WordPress page will appear as shown below.


odoo-integration-with-woocommerce-8-cybrosys

Successfully installed Wordpress.

After the installation of WordPress next, we need to install WooCommerce

To install WooCommerce:

1. Log into your WordPress site.
2. Go to: Plugins > Add New.
3. Type ‘WooCommerce’ into the Search Plugins… field. You’ll find our plugin that’s made by Automattic as the first result.
4. Select Install Now.
5. Select Activate Now, and you’re ready to get started!

This is a simple process to install the WooCommerce because it's a plug in, it can be easily downloaded and use.

To Install odoo connector in WordPress
1.  Just search with this keyword ‘Connector Woo Odoo’ in the 'Search Plugins…' field. You’ll find a plugin that’s made by Automatic as the first result.
2. click on Install Now.


Install odoo-WooCommerce connector in odoo

- Download odoo WooCommerce connector from odoo apps
- Install it  in odoo compactable version

Connecting odoo and WooCommerce

- You need API keys to connect odoo with WooCommerce.
- Go to WooCommerce > Settings >API
- Tick enable rest api
- Click on Save changes


odoo-integration-with-woocommerce-9-cybrosys

- Now click on keys/apps.

- Fill the form and Click on generate API key

odoo-integration-with-woocommerce-10-cybrosys

- Copy consumer key and consumer secret key

odoo-integration-with-woocommerce-11-cybrosys

- Paste in odoo > connector > backend

odoo-integration-with-woocommerce-12-cybrosys

- Click on check connection

Successfully connected odoo with woo commerce




Comments

0


Leave a comment