I want to get country_id
from the country name in Magento, Please suggest how can I achieve this.
I found these database tables but they are not helpful:
- directory_country
- directory_country_region
- directory_country_region_name
countriesdirectorymagento-1.9
I want to get country_id
from the country name in Magento, Please suggest how can I achieve this.
I found these database tables but they are not helpful:
Best Answer
You can use below code for that