Articles in this section
Vtiger CRM Integration with Magento
Table of Contents
Introduction
Shopping Cart is the extension in Vtiger CRM that supports integration with Magento
If you are a Magento user, you can install the Shopping Cart extension, configure Magento in Vtiger, and effortlessly sync data for the following:
- Contacts in Vtiger -> Customers in Magento
- Products in Vtiger -> Products in Magento
- Sales Orders in Vtiger -> Orders in Magento
Feature Availability
|
|
|
|
| |
| |||||
|
|
|
|
|
|
Benefits of Integrating Vtiger CRM with Magento
By integrating Magento with Vitger CRM, you can:
- Get a single view of Magento Orders regardless of whether you work in Vtiger or Magento
- Track customers to see where they are on the buying journey.
- Send promotional campaigns from Vtiger to potential customers.
- Access all the purchased items and proactively engage with customers from Vtiger.
Integrating Magento with Vtigers requires you to:
- Install the Shopping Cart extension
- Install Vtiger Patch On Magento
- Connect Vtiger with Magento using a Shopping Cart
In this article, you will learn about all of the above.
Installing Shopping Cart
Since a Shopping Cart is an extension, you must first install it from the Extension Store to use it. Please note that you must be an Admin user to use the Extension Store and install the Shopping Cart.
Follow these steps to install the Shopping Cart.
- Log in to your CRM account.
- Click the Main Menu.
- Click Add-ons at the bottom of the menu. You will land in the Extension Store.
- Search for the Shopping Cart using the search bar.
- Click Install.
- Click Yes to confirm.
After you install it, you can see the Shopping Cart under the Contacts, Products, and Sales Orders modules.
Installing Vtiger Patch On Magento
We have developed a patch that has to be deployed into the Magento source. The patch is available here. After downloading the patch MagentoConnector.zip, go to the Magento source and extract the contents of the zip folder. Then log in to the admin panel under Magento and clear the Magento cache. Now we are all set to start with the user creation on the Magento end by providing the same credentials as in vtiger CRM.
Getting Started
Magento is all set now. We can now create a new record in the application to test if the connectors are working. The connectors are developed to help bring in data from Magento to Vtiger CRM. Before synchronizing, there should be a few records present in the Magento.
Once the application is set, we should configure the soap user in Magento. Keep the details handy to get connected with Vtiger.
The process of creating a new soap user consists of the following:
- Step 1: Adding a new user
- Step 2: Adding a New Role
- Step 3: Assigning the role to the created user
Step 1: Adding a new user
- Log in to Magento Admin.
- Go to System > Web Services > Soap/XML – RPC – Users.
- Click Add New User.
- Enter the details.
- Click Save User.
Note: The Username and API key will be used to get connected with Vtiger CRM.
Step 2: Adding a New Role
- Log in to Magento Admin.
- Go to System > Web Services > Soap / XML – RPC – Roles.
- Click Add New Role.
- Enter or select information for the following:
- Select the Role Info tab.
- Enter Role Name.
- Select Role Resources under the Role Resources block.
- Set Resource Access to All from the dropdown.
- Click the Save Role button.
Step 3: Assign the role to the created user
- Go to System > Web Services > Soap / XML – RPC – Roles.
- Select the Role you have created.
- Select the Role Users tab.
- Select No from the drop-down under Role Users.
- Click Search to search for the User you have created.
- Assign the role to the user by enabling the check box on the right.
- Click Save Role.
Note: Magento(2.x) doesn’t need a configuration in the Magento application.
Connecting Vtiger with Magento using Shopping Cart
You can use Vtiger with Magento through the Shopping Cart app in the CRM. It requires you to:
- Step 1: Configure Magento in Vtiger CRM
- Step 2: Configure Sync Settings
Step 1: Configuring Magento in Vtiger CRM
To see how the data is being synchronized between these applications, we need to enter the application details into Vtiger. The system expects a few sets of values, which will help to get connected with the target shopping cart.
To connect with Magento, we will need the Application URL, Username, and API Key, which we have configured in Magento.
Magento 1
Follow these steps to configure Magento 1 within Vtiger CRM:
- Log in to Vtiger.
- Click the User Menu on the top right.
- Go to Settings.
- Go to Extension.
- Click Add-ons.
- Click Shopping Cart.
- Click New Configuration.
- Select your Magento version 1.x.
- Enter or select the following information:
- Enter Application URL - Enter the application URL (Your shopping cart website URL where customers place an order).
- Username - Enter the name of the user (This can be found under your Magento account Admin panel >> System >> Web services >> SOAP/XML - RPC - Users).
- API Key - Paste the API Key that you have configured in Magento (This can be found under the Admin panel >> System >> Web services >> SOAP/XML - RPC - Users).
- Set the Active radio button to Yes.
- Click Save. Once it is saved, CRM will add path /api/soap/?wsdl in the URL.
Magento 2
Follow these steps to configure Magento 2 within Vtiger CRM:
- Log in to Vtiger.
- Click the User Menu on the top right.
- Go to Settings.
- Go to Extension.
- Click Add-ons.
- Click Shopping Cart.
- Click New Configuration.
- Select your Magento version 2.x.
- Enter or select the following information:
- Enter Application URL—Enter the application URL (the URL of your shopping cart website where customers place an order).
- API Username - Enter the name of the required user (this can be found under your Magento account Admin panel >> System >> Permissions >> All Users).
- API Key - Enter the user account password of the selected user.
- Set the Active radio button to Yes.
- Click Save.
Step 2: Configuring Sync Settings
Configure synchronization settings for Magento to Vtiger in the CRM.
Note:
- Make sure the base currencies are the same in Magento and Vtiger CRM.
- Please synchronize Products in Vtiger CRM before synchronizing Sales Orders, as sales orders are always created based on products.
- The Application URL format should end with index.php
- Automatic synchronization is supported for Magento. Records get synced every 15 minutes.
To know more about the features and benefits of this integration, please check Magento + Vtiger CRM.
Mapping fields in Vtiger CRM and Magento
Mapping Contacts and Product
As demo data is already populated in Magento, a few products are already configured with just one Customer record and no Orders in the Magento database. At this point, we can sync the Contacts and Products module from Magento with Vtiger CRM.
Mappings for Contacts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mappings for Products
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mapping for Sales Orders
To check the Orders being synchronized, we should first go to the front end of the application and checkout via Guest/Customer login credentials. After checking out, the Order record will be created at the backend. At this point, we can sync the Orders module from Magento with Vtiger CRM.
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|