Table of Contents
-
Introduction
-
Why Connect WooCommerce to Dolibarr?
-
Overview of Key Integration Benefits
-
What You’ll Need Before Starting
-
Step 1: Install the Dolibarr WooCommerce Connector Module
-
Step 2: Configure API Access in Dolibarr
-
Step 3: Generate API Keys in WooCommerce
-
Step 4: Link Dolibarr and WooCommerce via Module Settings
-
Step 5: Set Up Synchronization Rules
-
Step 6: Test the Connection with Sample Data
-
Common Sync Options: What Can Be Linked
-
Managing Products Between Dolibarr and WooCommerce
-
Handling Customer Data Sync
-
Synchronizing Orders and Invoices
-
Stock and Inventory Management
-
Setting Sync Frequency and Automation
-
Troubleshooting Common Issues
-
Security Best Practices for API Connections
-
Advanced Tips: Using Webhooks for Real-Time Sync
-
Conclusion and Strategic Optimization Advice
1. Introduction
Integrating your e-commerce store with your ERP system is one of the fastest ways to streamline your operations. If you run your online store using WooCommerce and manage your internal processes with Dolibarr ERP, syncing them can save you hours of manual data entry and eliminate costly errors. Best of all, it can be done in just 15 minutes—without writing a single line of code.
This guide will walk you through each step to connect WooCommerce with Dolibarr using an off-the-shelf connector module.
2. Why Connect WooCommerce to Dolibarr?
Dolibarr handles all the back-office tasks: invoicing, stock management, accounting, CRM, and more. WooCommerce manages the front-end sales. Connecting them ensures:
-
Seamless data exchange
-
Better order fulfillment
-
Real-time inventory updates
-
Accurate financial records
3. Overview of Key Integration Benefits
-
Automatically transfer orders from WooCommerce to Dolibarr
-
Sync product listings and prices in both systems
-
Maintain consistent stock levels
-
Centralize customer data
-
Generate invoices and reports in Dolibarr without copying data manually
4. What You’ll Need Before Starting
-
Active WooCommerce store (WordPress admin access)
-
Running Dolibarr instance (version 14 or higher recommended)
-
Administrator access to both platforms
-
WooCommerce API keys
-
Dolibarr Connector module (available on Dolistore or GitHub)
5. Step 1: Install the Dolibarr WooCommerce Connector Module
-
Download the module (e.g.,
woocommerce
orwoosync
) from Dolistore -
Upload it to Dolibarr under
/htdocs/custom/
-
Go to Dolibarr > Home > Setup > Modules
-
Activate the WooCommerce connector module
Some modules offer multi-store support; make sure to check compatibility.
6. Step 2: Configure API Access in Dolibarr
-
Navigate to Setup > Security > API
-
Enable REST API access
-
Create a new API key for WooCommerce
-
Assign permissions for products, orders, invoices, and contacts
This key allows WooCommerce to push/pull data securely.
7. Step 3: Generate API Keys in WooCommerce
-
In WordPress, go to WooCommerce > Settings > Advanced > REST API
-
Click "Add Key"
-
Name the key (e.g., Dolibarr Sync)
-
Choose the user and grant Read/Write access
-
Copy the generated Consumer Key and Secret
You will use this in the Dolibarr connector settings.
8. Step 4: Link Dolibarr and WooCommerce via Module Settings
-
In Dolibarr, go to the WooCommerce module settings
-
Paste the WooCommerce site URL
-
Add the API keys from WooCommerce
-
Choose the authentication method (usually OAuth1 or Basic Auth)
-
Save and test the connection
You should see a confirmation message or a connection log.
9. Step 5: Set Up Synchronization Rules
Define how the two systems will talk:
-
Direction: one-way (Woo to Dolibarr) or two-way
-
Frequency: manual, hourly, daily
-
Triggers: order received, stock updated, etc.
Common configuration includes syncing products, categories, orders, and customers.
10. Step 6: Test the Connection with Sample Data
-
Create a test product in WooCommerce
-
Confirm it appears in Dolibarr
-
Place a test order on your site
-
Check that the order appears in Dolibarr with customer info
If successful, you’re good to go.
11. Common Sync Options: What Can Be Linked
-
Products (SKU, name, price, stock, description)
-
Product categories and tags
-
Orders (status, total, customer)
-
Customers and billing info
-
Invoices (PDF or draft generation)
-
Stock levels per warehouse
12. Managing Products Between Dolibarr and WooCommerce
You can choose your master system:
-
Push product updates from Dolibarr to WooCommerce
-
Or pull from WooCommerce into Dolibarr
Many companies prefer Dolibarr as the master for inventory.
13. Handling Customer Data Sync
Customer records are synced as:
-
Third-party (Tiers) in Dolibarr
-
Linked contacts with email and address fields
Sync includes:
-
Billing and shipping addresses
-
Order history for CRM purposes
14. Synchronizing Orders and Invoices
-
Orders placed on WooCommerce are imported into Dolibarr
-
You can auto-generate a quote or invoice
-
Payment status can also be synced if your store uses Stripe or PayPal
Choose whether invoices are validated automatically or manually.
15. Stock and Inventory Management
Stock updates in Dolibarr can:
-
Push real-time quantity to WooCommerce
-
Prevent overselling via out-of-stock automation
Use multi-warehouse support if needed.
16. Setting Sync Frequency and Automation
Options include:
-
Real-time (using Webhooks)
-
Hourly/daily cron jobs
-
Manual sync via admin panel
Cron setup requires server access or a plugin like WP-Crontrol for WordPress.
17. Troubleshooting Common Issues
-
Connection Error: Verify API keys, URLs, and permissions
-
Sync Delay: Check cron jobs or module logs
-
Mismatched Data: Ensure SKU codes match in both systems
-
API Limit Errors: Limit the number of requests per cycle
18. Security Best Practices for API Connections
-
Use HTTPS for both systems
-
Regenerate API keys periodically
-
Restrict access by IP if possible
-
Log all API requests for audits
19. Advanced Tips: Using Webhooks for Real-Time Sync
For advanced users:
-
Enable Webhooks in WooCommerce
-
Trigger sync on new order or product changes
-
Use plugin like AutomatorWP or Zapier for custom logic
This reduces lag between systems.
20. Conclusion and Strategic Optimization Advice
Connecting WooCommerce with Dolibarr is one of the best ways to automate your business processes. In under 15 minutes, you can achieve a seamless bridge that handles orders, invoices, products, and customers—without manual intervention.
As your business scales, continue optimizing your integration by:
-
Enabling auto-validation of documents
-
Using analytics dashboards in Dolibarr
-
Segmenting customers by order source
A no-code integration not only saves time but enhances accuracy and customer satisfaction. Once in place, this connection turns your Dolibarr ERP into a powerful engine for online retail success.