Magento News

 

Create a Drop-Down of Countries

A post by FishPig.co.uk
There are many ways to access country information in Magento. Unfortunately, most developers use a long drawn out way when they can accomplish it in 1 line of code!

In this article you will learn how to easily access an array containing country names and country codes. Using this array I will show you how to create a drop down (select box) quickly and easily in the both the Magento front end and the Magento Admin area.

Create a Drop-Down of Countries

Possibly Related Posts:


 

Leave a Reply