cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a combined website/language switcher

Creating a combined website/language switcher

Out of the box, Magento has a store switcher and a language switcher. I want to create a website/language switcher that also shows the base currency for each website. Whilst I currently only have a single store under each website it would make sense to keep the solution generic and include the store. Given my website and language naming convention I expect the data to look something like this;

 

United Kingdom, English, GBP

Europe, English, EUR

Europe, Italian, EUR

Europe, French, EUR

United States, English, USD

Rest of the World, English, USD

 

As an added bonus, I'd like to add flags to each row, possible by using the website_code and locale as classes in the HTML.

 

Any ideas on how I can return this data?

Thanks in advance