In this post I am going to explain how to get country details by id in PrestaShop 1.7.

// Your Country Id
$id_country = 21;

// Load Country object
$country = new Country((int) $id_country);

// Validate Country object
if (Validate::isLoadedObject($country)) {

	// Print Country Object
	echo "<pre>";
	print_r($country);
	echo "</pre>";
}