Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

How to integrate Odoo with Wordpress ?

Subscribe

Get notified when there's activity on this post

This question has been flagged
4 Replies
108449 Views
Avatar
Ibrar Ahmad

I have downloaded Wordpress site integration module from this link: https://www.odoo.com/apps/trunk/openerp_wordpress/

how to install it?

0
Avatar
Discard
Usman Aldewan

we are looking for odoo outsource service provider in PK

Avatar
PR1 - Support
Best Answer

Hi,

I realise this is an old thread, there now is a plugin that will allow you to put your Odoo forms on any  wordpress/joomla!/any website seamlessly.

Simply go to:

https://www.odoo.com/apps/modules/13.0/pr1_iframe_forms/


Cheers

1
Avatar
Discard
Avatar
Jainesh Shah(Aktiv Software)
Best Answer

Hey Ibrar Ahmad,

For Integrating odoo with wordpress following some link :-

   1) https://www.odoo.com/forum/help-1/question/localhost-wordpress-woocommerce-integration-61471
Some Odoo apps Module link :-
1)https://www.odoo.com/apps/modules/9.0/artarad_wordpress_conector/ 2)https://www.odoo.com/apps/modules/10.0/odoo_woo_connect/

Hope this will help you.

Thanks!

1
Avatar
Discard
Avatar
Gracious Joseph
Best Answer

Integrating Odoo with WordPress is commonly done for purposes such as synchronizing data (e.g., products, customers, or orders) or embedding Odoo functionality (e.g., forms) into a WordPress site. Here's a step-by-step guide to help you integrate Odoo with WordPress:

1. Define the Purpose of Integration

Decide what you aim to achieve with the integration:

  • Sync data between Odoo and WordPress (e.g., WooCommerce store integration).
  • Embed Odoo forms, such as contact forms or lead generation, into your WordPress site.
  • Display Odoo data on WordPress pages (e.g., product catalogs, order tracking).

2. Available Integration Methods

Option 1: Odoo-WooCommerce Connector

  • If your WordPress site uses WooCommerce, there are pre-built connectors that synchronize data between WooCommerce and Odoo:
    • Apps:
      • WooCommerce Odoo Connector.
      • Odoo-WooCommerce Connector by Emipro Technologies.
    • Features:
      • Sync products, orders, and customers.
      • Automatic stock updates.

Steps to Use a WooCommerce Connector:

  1. Install the connector module in Odoo.
  2. Configure the WooCommerce API keys in WordPress.
  3. Map fields between Odoo and WooCommerce.
  4. Sync data as per your requirements.

Option 2: Embed Odoo Forms Using IFrames

  • If you want to integrate forms from Odoo (e.g., lead forms, contact forms):
    1. Create a form in Odoo (e.g., Website > Forms).
    2. Use the "Share" feature to generate an iframe link.
    3. Embed the iframe code into a WordPress page or post.

Option 3: Custom API Integration

  • For advanced use cases, you can use the Odoo REST API or XML-RPC API to integrate WordPress and Odoo.
    • Use Case: Fetch Odoo data and display it dynamically on WordPress, or push WordPress form submissions to Odoo (e.g., creating leads).

Steps:

  1. Enable Odoo API by ensuring xmlrpc is configured.
  2. Use a WordPress plugin like WP HTTP API or custom PHP scripts to connect to Odoo.
  3. Write API methods to handle data exchange (e.g., fetching products or creating records).

3. Available Plugins and Modules

WordPress Plugins

  1. WooCommerce Odoo Integration:
    • Plugins available on the WordPress plugin repository (search for "WooCommerce Odoo").
  2. Iframe Forms Plugin:
    • Modules like pr1_iframe_forms allow embedding Odoo forms in WordPress.

Odoo Apps

  1. Artarad WordPress Connector (Odoo App):
    • Synchronize WordPress posts with Odoo.
  2. Odoo WooCommerce Connector (Odoo App):
    • Sync WooCommerce store data with Odoo.

4. Example: Custom API Integration

Here’s how to integrate using Odoo’s REST API for fetching data dynamically.

1. Fetch Data from Odoo in WordPress:

  • Example PHP Code for WordPress:
    $url = 'https://your-odoo-instance.com';
    $db = 'your-database-name';
    $username = 'your-email@example.com';
    $password = 'your-password';
    
    // Authentication
    $common = ripcord::client("$url/xmlrpc/2/common");
    $uid = $common->authenticate($db, $username, $password, array());
    
    // Fetch Data
    $models = ripcord::client("$url/xmlrpc/2/object");
    $products = $models->execute_kw($db, $uid, $password,
        'product.template', 'search_read',
        array(array(array('sale_ok', '=', true))),
        array('fields'=>array('name', 'list_price'))
    );
    
    // Display Products
    foreach ($products as $product) {
        echo $product['name'] . ': $' . $product['list_price'] . '<br>';
    }
    

2. Push Data from WordPress to Odoo:

  • Example: Sending form data to Odoo (e.g., creating a lead):
    $lead_data = array(
        'name' => 'New Lead from WordPress',
        'email_from' => 'customer@example.com',
        'description' => 'Lead created via WordPress form.'
    );
    
    $lead_id = $models->execute_kw($db, $uid, $password,
        'crm.lead', 'create', array($lead_data)
    );
    
    echo "Lead created with ID: $lead_id";
    

5. Troubleshooting

  • Check API Logs: Enable logging in Odoo to monitor API requests.
  • Cross-Origin Issues: Use plugins like WP REST API CORS to handle cross-origin requests if embedding external forms.
  • Plugin Conflicts: Test integration plugins on a staging environment before deploying them live.

6. Conclusion

The integration method you choose depends on your use case:

  • Simple embedding: Use iframe forms.
  • WooCommerce store sync: Use connectors.
  • Advanced data sync: Use Odoo API with custom code.

Let me know if you need help with specific steps or additional guidance!

-2
Avatar
Discard
Avatar
swapnil trivedi
Best Answer

Hello, 

You can use this module

http://bit.ly/2gF4ISA.

This may help you.

-4
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now