How to get the name of the country from the ip address in magento 2. I think it will require me to use geoip, but I don't know how to do it. Any help?
Magento 2.1 – Get Country from IP Address
countriescountry-regionsgeoipip addressmagento-2.1
countriescountry-regionsgeoipip addressmagento-2.1
How to get the name of the country from the ip address in magento 2. I think it will require me to use geoip, but I don't know how to do it. Any help?
Best Answer
Use below code: