Country State module provides you with the ability to import Countries and States from Salesforce to Magento
Go to Magento Admin panel - Salesforce - (Configuration) - Country State
Enable Update
The “Enable Update” option turns on/off the Country State module
To Enable Country State module
go to Magento Admin panel - Salesforce (sidebar menu) - Country State - Country State Configuration tab
set “Enable Update“ option to “Yes“
As a result, all Country State module options become available
To Disable Country State module
go to Magento Admin panel - Salesforce (sidebar menu) - Country State - Country State Configuration tab
set “Enable Update“ option to “No“
As a result, all Country State module options will be hidden.
Country State module Connection to Salesforce
Country State module requires connection to Salesforce. You need to upload Metadata WSDL file and then click the Test Connection & Apply Salesforce changes button
To get Metadata WSDL file:
Go to Salesforce - Gears button - Setup
Start typing “API“ word into the “Search Setup“ field
Click on the “API integration” item in the Search list
Click on Generate Metadata WSDL link and save page content to file
go to Magento Admin panel - Salesforce (sidebar menu) - Country State - Country State Configuration tab
Click on the “Browse“ button and select the previously saved Metadate WSDL file
Enable Automatic Update
The “Enable Automatic Update” option allows you to Enable/Disables Automatic Country State import. If disabled, the import still can be performed manually
To Enable Automatic Update
go to Magento Admin panel - Salesforce (sidebar menu) - Country State - Country State Configuration tab
set “Enable Update“ option to “Yes“
set “Enable Automatic Update” option to “Yes“
Now you are able to set update frequency:
Select Start Time
Select Automatic Update Frequency - Daily, Weekly, or Monthly
To Disable Automatic Update
go to Magento Admin panel - Salesforce (sidebar menu) - Country State - Country State Configuration tab
set “Enable Update“ option to “Yes“
set “Enable Automatic Update” option to “No“
Manual update
You have the ability to manually Initialize Countries and States picklist update at any time
go to Magento Admin panel - Salesforce (sidebar menu) - Country State - Country State Configuration tab
Click the “Update Now“ button