Duoplane connects to Magento via Magento's core API. To connect Magento to Duoplane, you will first create an API user for Magento and then provide Duoplane with that API user's credentials.
IMPORTANT: As a first step before adding any new store connection, we recommend checking the setting enabling unique product SKUs.
By going to Main Menu > Settings >Products & Inventory, change the "Product SKUs are unique" setting to "Yes" to link products from the new store to existing products of the same SKU currently in Duoplane.
If this is set to "No", Duoplane will treat every product from the new store as a new product and not link it to existing products, which may cause unintended duplicates.
Create a Magento API user with admin access
The first step is to create a Magento SOAP/XML-RPC user with admin access.
Create an API role
Create a SOAP/XML-RPC Role with access = All
- In the System menu, select Web Service > SOAP/XML-RPC - Roles.
- If an "All access" role does not already exist, create one by selecting Add New Role.
- Give the role a name. (For example, "Admin")
- In the Role Resources tab, select All in the Resource Access dropdown.
- Save the role.
Create an API user
Finally, create a SOAP/XML-RPC User with that role:
- In the System menu, select Web Service > SOAP/XML-RPC - Users.
- Click Add New User.
- Fill in the required information and remember the user name and API key that you enter. Those will also need to be put into Duoplane.
- Give this API user the "All access" role that you just created earlier.
- Save the new user.
Add the Magento store to Duoplane
- Login to your Duoplane account
- In Settings > Ecommerce Stores, select New Store.
- Select Magento from the dropdown.
- Give your store a nickname in the Store Name field. This is for internal use only and is mostly relevant if you manage multiple ecommerce channels in Duoplane.
- Type or paste the URL for your Magento admin in the Admin URL field. For standard Magento setups, it will generally look like this: https://www.mymagentostore.com/index.php/admin
- In the API access section, complete the fields as follows:
- API URL: Your Magento API URL. For a standard setup, the URL will look like this: https://www.mymagentostore.com/api
- API login: This is the API User Name for the Magento API user that we just created
- API password: This is the API Key that was used earlier in the creation of the Magento API user
Map Magento product attributes to Duoplane's
- In the Product attribute mappings section, map your Magento attributes to the corresponding Duoplane fields.
- Click the Re-import Magento attributes button to have Duoplane read in the available attributes from your Magento catalog.
- Wait a few minutes and refresh the page. Each of the listed attributes should have a dropdown next to it listing all of your Magento attributes.
- Map as many attributes as you can, but the the most important fields for order processing are:
- Vendor name code
- Vendor SKU
- Leadtime days
- Backorder date
- Once the mappings are complete, enable syncing by turning the following fields to "On":
- Import orders? (Order management section)
- Import products? (Products and inventory section)