i want to get country name from country code, i got the country code from the data order like this :
$data = $order->getShippingAddress()->getData();
$countryCode = $data['country_id'];
echo $countryCode;
it will print 'US' or any other country code, is there a way to get the country name from this country code?
Best Answer
Create Block file,
Call from phtml file,