In this post I am going to explain how to get country details by id in PrestaShop 1.7.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | // 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>"; } |
Write an article about ecommerce that help people to grow their ecommerce business. You’ll find best ecommerce guide, news, tips & more!
Leave a Reply