Articles in this section
WooCommerce Integration with Vtiger CRM
Table of Contents
Introduction
WooCommerce is a customizable, open-source eCommerce platform built on WordPress. It helps open a digital store and sell online. It helps you manage your businesses on the go with secure marketing, shipping, payments, enterprises, etc. It aids you in building and customizing virtual stores for clients.
WooCommerce helps you:
- Enhance your sales generation
- Create and manage your business leads and contacts
- With efficient tax management
- Conveniently monitor your products with automated e-commerce ventures, emails, and contacts
WooCommerce integration with Vtiger CRM
|
Integrating WooCommerce with Vtiger CRM syncs contacts, products, sales orders, and taxes with WooCommerce and vice versa. This data sync happens with every contact, product, sales order, and tax record created, updated, and skipped on both platforms.
Vtiger CRM provides multidirectional data sync with WooCommerce. You can sync records in the following ways:
- Sync from Vtiger to WooCommerce
- Sync from WooCommerce to Vtiger
- Sync both ways
To integrate WooCommerce with Vtiger CRM you must:
- Have an active business account with WordPress.
- Enable the WooCommerce extension in Vtiger CRM.
Benefits of WooCommerce Integration
- Access and manage your WooCommerce business contacts, products, sales orders, and tax records in Vtiger CRM.
- Prevent duplication and errors with a single source of data.
- Save time by managing your contacts, products, sales orders, and, tax from a single app.
Feature Availability
Click here for the availability of the WooCommerce Integration for different editions of Vtiger CRM.
Integrating WooCommerce with Vtiger involves the following:
- Installing WooCommerce from the Extension Store
- Configuring or setting up the integration
- Configuring WooCommerce sync settings in Vtiger CRM
- Enabling the sync between Vtiger and WooCommerce for data to flow
In this article, you will learn about all of the above. Shall we begin?
Key Terminology
|
|
|
|
|
|
| transferred or added |
|
|
| It is a cron (scheduler) running in the background that performs an automatic data sync between Vtiger CRM and WooCommerce at a defined interval. Users can choose a frequency for the automatic sync to happen. |
| There are different settings available for updating field values for WooCommerce and Vtiger CRM records if duplicate records are present during the sync process. |
|
|
Installing WooCommerce
WooCommerce is a third-party app that Admin users must install from Vtiger’s Extension Store.
Follow these steps to install the WooCommerce extension:
- Log in to your CRM account.
- Click the Main Menu.
- Click Add-ons.
- Look for WooCommerce.
- Click Install.
Or
- Log in to your CRM account.
- Click the Main Menu.
- Click the User Menu.
- Click Settings.
- Look for Extensions.
- Click Extension Store.
- Look for WooCommerce.
- Click Install.
- Click Yes to confirm the installation.
Once you have installed it successfully, follow these steps to find the app:
- Log in to your CRM account.
- Click the Main Menu.
- Click Essentials.
- Look for Lead & Contact Management.
- Click Contacts. (Or Sales > Products or Inventory > Sales Orders)
- Click the Sync button. The Sync window opens.
- WooCommerce is now available under User level Connectors.
Integrating WooCommerce with Vtiger CRM
In this section, let us learn how to integrate WooCommerce with Vtiger CRM.
Integrating WooCommerce with Vtiger CRM requires:
- Step 1: Retrieving WooCommerce Consumer Key and Secret
- Step 2: Integrating WooCommerce with Vtiger CRM
Step 1: Retrieving WooCommerce Consumer Key and Secret
Follow these steps to retrieve the WooCommerce consumer key and secret:
- Log in to your WordPress account. The home screen opens.
- Click WooCommerce from the menu bar present on the left corner of the screen.
- Click Settings.
- Click the Advanced tab.
- Click REST API.
- Click the Add key button.
- Enter or select your following WooCommerce key(account) details:
- Description - A name for your account.
- User - Your user ID.
- Permissions - Choose a suitable permission.
- Copy the following to a Notepad or a document by clicking the Copy icon:
- Consumer key
- Consumer secret
You have now successfully retrieved the WooCommerce consumer key and secret.
Step 2: Integrating WooCommerce with Vtiger CRM
Follow these steps to integrate WooCommerce with Vtiger CRM:
- Log in to your CRM account.
- Click the Main Menu.
- Click Essentials.
- Look for Lead & Contact Management.
- Click Contacts. (Or Sales > Products or Inventory > Sales Orders)
- Click the Sync button. The Sync window opens.
- Under User level Connectors, look for WooCommerce.
Note: (If WooCommerce is unavailable under User level Connectors, click View available connectors in the Sync window.)
- You will find the Sync Log and Settings buttons for WooCommerce.
- Click the Settings button. The WooCommerce Sync Settings screen opens.
10. Under Sync Settings, enter the following:
in the App URL field.
Follow these steps to retrieve the WordPress ID:
ii. Consumer Secret - Consumer secret
You have now successfully integrated WooCommerce with Vtiger CRM.
Configuring WooCommerce Sync Settings
After you have successfully integrated WooCommerce with Vtiger CRM, you must configure its Sync Settings in Vtiger CRM to connect it with Vtiger.
Note: Only Admin users can access WooCommerce Sync Settings in Vtiger CRM.
Follow these steps to configure WooCommerce Sync Settings:
- Log in to your CRM account.
- Click the Main Menu.
- Click Essentials.
- Click Contacts. (Or Sales > Products or Inventory > Sales Orders)
- Click the Sync button. The Sync window opens.
- Under User level Connectors, look for WooCommerce.
- Click the Settings button beside WooCommerce. The WooCommerce Sync Settings screen opens.
- Under Pre Sync Settings, select:
- Sync Records From - The time span you want to sync records from.
- Under System Settings, select the following:
- Debug Mode - It lets you enable or disable the storing of synced data in Debug Log.
- Background Sync Frequency - Select the duration for Background Sync Frequency.
- Conflict Resolution - Select a conflict resolution setting for updating records in the CRM if duplicate records are found during the sync process:
- Last updated record wins - Sync will update duplicate record field values to the records available in Vtiger or synced from WooCommerce, depending on which of these were updated last.
- Vtiger record wins - Sync will update duplicate field values from Vtiger records to WooCommerce records. And the Vtiger records will be retained as they are.
- Service record wins - Sync will update duplicate field values from WooCommerce records to Vtiger records.
- Tax Sync Settings - This is enabled by default with the sync direction Sync from WooCommerce to Vtiger. (This also remains non-editable)
- Under Contacts Sync Settings, select the following:
- Sync Direction - You can choose the way you want to sync contacts between WooCommerce and Vtiger in the following ways:
- Sync from Vtiger to WooCommerce - Sync contacts from Vtiger to WooCommerce.
- Sync from WooCommerce to Vtiger - Sync contacts from WooCommerce to Vtiger
- Sync both ways - Sync contacts from Vtiger to WooCommerce and WooCommerce to Vtiger.
- Enable Contacts Sync - Enable the checkbox if you want to sync contacts from WooCommerce to Vtiger CRM and vice versa for the Contacts module else, disable it.
Note: The above WooCommerce Sync Settings procedure remains the same for the Products and Sales Orders modules.
You have now successfully configured WooCommerce Sync Settings for the Contacts module in Vtiger CRM.
Next Step - Syncing data between WooCommerce and Vtiger CRM.
Syncing WooCommerce Data
After you have successfully configured WooCommerce Sync Settings in Vtiger CRM, you need to sync contacts, products, sales orders, and taxes between WooCommerce and Vtiger CRM.
The WooCommerce Sync Log displays the sync date, time, module, and the following contact, product, sales order, and tax records that were successfully synced between WooCommerce and Vtiger CRM.
Follow these steps to sync data between WooCommerce and Vtiger CRM:
- Log in to your CRM account.
- Click the Main Menu.
- Click Essentials.
- Click Contacts. (Or Sales > Products or Inventory > Sales Orders)
- Click the Sync button. The Sync window opens.
- Under User level Connectors, look for WooCommerce.
- Click the Sync Log button beside WooCommerce. The WooCommerce Sync Log window opens.
- Click the Sync Now button to sync contacts. The WooCommerce Sync Log window opens up.
- The WooCommerce Sync Log displays the sync date, time, and the modules that were synced between WooCommerce and Vtiger CRM. It also displays the following statuses for the synced records:
- Created - Records that are created and saved in WooCommerce or Vtiger CRM.
- Updated - Records that are updated and saved in WooCommerce or Vtiger CRM.
- Skipped - Records that are skipped because they have errors or because mandatory fields in WooCommerce or Vtiger CRM are empty.
- The WooCommerce Sync Log will display the sync results (in numbers) - the modules that were successfully synced for the available records.
- Clicking the numbers will open the Records Created in Vtiger window that displays the record details such as Source Module and Record Name.
- For example, clicking the sync result for a module (SalesOrder) under the record status (Created) will open the Records Created in Vtiger window that displays the Source Module and the Record Name.
- Clicking the Record name will direct you to the respective record.
- Clicking the Download As CSV tab will download the source modules and record names to a CSV file.
Note: The above, syncing WooCommerce data procedure remains the same for the Products, Sales Orders, and Tax Management module.
|
WooCommerce Sync Pattern
Let us now understand the pattern in which contact, product, sales order, and tax records sync between WooCommerce and Vtiger CRM. Based on the chosen sync direction, these records are mutually synced in the Vtiger WooCommerce Sync Log screen as follows:
Note: For instance, we have considered the Contacts module as an example, the sync pattern remains the same for all related modules.
- Contact, product, sales order, and tax records created, updated, or skipped:
- In Vtiger’s Contacts module will reflect as sync results in the WooCommerce table.
- In the WooCommerce portal will reflect as sync results in the Vtiger CRM table.
- Consider the above screenshot:
- 1 sales order created in Vtiger CRM will reflect as 1 under Created in the WooCommerce table.
- 1 sales order created in WooCommerce portal will reflect as 1 under Created in the Vtiger CRM table.
WooCommerce Sync Log Screen
The WooCommerce Sync Log screen displays the following information:
- WooCommerce and Vtiger CRM tables - Display contact, product, sales order, and tax records with the statuses - created, updated, and skipped synced between Vtiger CRM and WooCommerce (as per the chosen sync direction). They also display the following for the synced records:
- Date - The day records are synced.
- Time - The time records are synced.
- Module - The synced records’ module.
- Debug Log - Clicking the Debug Log button displays the data sync (both ways) information in the form of logs.
- Syn Now - Clicking the Sync Now button mutually syncs data between WooCommerce and Vtiger CRM.
- Sync Log - Clicking the Sync Log button will take you to the WooCommerce Sync Log screen.
Let us now understand the Field Mapping between WooCommerce and Vtiger CRM.
Field Mapping
In this section let us understand the field mapping between WooCommerce and Vtiger CRM.
For data to sync properly between Vtiger CRM and WooCommerce, the fields in the CRM need to be mapped with the fields in WooCommerce.
Field mapping enables this process to occur smoothly. Improper or incomplete mapping is the reason why the sync process 'skips' a few records, and these records won’t be updated.
For example, a mandatory field in WooCommerce might have data, and the mapped non-mandatory field in Vtiger might be empty. In this case, the sync process will not be successful.
You can customize the field mapping for WooCommerce for the Contacts, Products, Sales Orders, and Tax modules by clicking the +Add Custom Mapping tab.
By clicking the Add Custom Mapping, you can add fields for Contacts, Products, and Sales Orders. You must enable the sync for each section. Contacts can be synced both ways from Vtiger to CRM and vice-versa. Tax sync is enabled by default.
Mapping Contacts and Product
Mappings for Contacts
|
|
First Name | first_name |
Last Name | last_name |
Company | Company name |
Address line 1 | address_1 |
Address line 2 | address_2 |
City name | City |
ISO code or name of the state, province, or district | state |
Postal code | postcode |
ISO code of the country | country |
Email address | |
Mappings for Products
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mappings for Sales Order
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note:
|
Follow these steps to view the field mapping for WooCommerce:
- Log in to your CRM account.
- Click the Main Menu.
- Click Essentials.
- Click Contacts. (Or Sales > Products or Inventory > Sales Orders)
- Click the Sync button. The WooCommerce Sync window opens.
- Look for User-level Connectors > WooCommerce.
- Click the Settings button beside WooCommerce. The WooCommerce Sync Settings screen opens.
Note: You can also go to WooCommerce Sync Settings by clicking Sync Log > Sync Settings.
-
Click Constant Sync Settings > Field Mapping. The default field mapping for WooCommerce available for the Contacts module is displayed.
Note: The above procedure remains the same to view the default field mapping for WooCommerce available for the Products, Sales Orders, and Tax modules.
The following tables display the default field mapping for WooCommerce available for all related modules - default fields in Vtiger CRM’s modules that are mapped or synced to the fields in the WooCommerce portal.
Synchronization for the Contacts module
|
|
|
|
|
|
|
|
Synchronization for the Products module
|
|
|
|
|
|
Synchronization for the Sales Orders module
|
|
|
|
|
|