[Skip to main content](#vessel-content)

#   Currency switcher module, Canonical Urls redirect

##

- **[Kaos](/forum/user/38377-kaos "View Kaos's Profile")**
- [![Kaos's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38377-kaos "View Kaos's Profile") Topic Author
- [ Offline](/forum/user/38377-kaos)

Less More

- Posts: 5
- Thank you received: 0
-
-

11 years 1 month ago [\#212721](#212721) by [Kaos](/forum/user/38377-kaos "View Kaos's Profile")  *[Currency switcher module, Canonical Urls redirect](/forum/31-development/878986-currency-switcher-module-canonical-urls-redirect#212721 "-- HikaShop version -- : Starter  Hi there, Currency Switcher 1.How do I edit the code for the currency switcher to include country flags instead of the country currency and code. 2. I would also like the drop downs for the currencies to redirect to another domain, while retaining the currency switching functionality. In essence, all I want to do is select a country flag from a dropdown and then redirect to a specific domain of mine e.g a.)clicking on the usa flag will redirect to mydomain.com and display currency for all products in USD b.)clicking on the UK flag will redirect to mydomain.co.uk and display currency for all products in GBP  Canonical Url Redirection/Navigation I have made my products to redirect to external links on click, but now I need this links to open in a new window in the browser, rather than on the same page. How do I go about this?")* was created by *[Kaos](/forum/user/38377-kaos "View Kaos's Profile")*

-- HikaShop version -- : Starter

Hi there,
Currency Switcher
1.How do I edit the code for the currency switcher to include country flags instead of the country currency and code.
2. I would also like the drop downs for the currencies to redirect to another domain, while retaining the currency switching functionality.
In essence, all I want to do is select a country flag from a dropdown and then redirect to a specific domain of mine e.g a.)clicking on the usa flag will redirect to mydomain.com and display currency for all products in USD
b.)clicking on the UK flag will redirect to mydomain.co.uk and display currency for all products in GBP

Canonical Url Redirection/Navigation
I have made my products to redirect to external links on click, but now I need this links to open in a new window in the browser, rather than on the same page. How do I go about this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg3ODk4Ni1jdXJyZW5jeS1zd2l0Y2hlci1tb2R1bGUtY2Fub25pY2FsLXVybHMtcmVkaXJlY3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 1 month ago [\#212734](#212734) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Currency switcher module, Canonical Urls redirect](/forum/31-development/878986-currency-switcher-module-canonical-urls-redirect#212734 "-- HikaShop version -- : Starter  Hi there, Currency Switcher 1.How do I edit the code for the currency switcher to include country flags instead of the country currency and code. 2. I would also like the drop downs for the currencies to redirect to another domain, while retaining the currency switching functionality. In essence, all I want to do is select a country flag from a dropdown and then redirect to a specific domain of mine e.g a.)clicking on the usa flag will redirect to mydomain.com and display currency for all products in USD b.)clicking on the UK flag will redirect to mydomain.co.uk and display currency for all products in GBP  Canonical Url Redirection/Navigation I have made my products to redirect to external links on click, but now I need this links to open in a new window in the browser, rather than on the same page. How do I go about this?")*

Hi,

1. Go in the templates manager of Joomla, and create an override of the currency switcher module.
There, instead of the call to the "display" function of the $currency object, you can put your own HTML with your image flags and add some kind of redirection capability of your own.

2. Go in the menu Display&gt;Views of HikaShop and edit the file "listing_img_title" of the view "product" via the menu Display&gt;Views. There, simply add the target="_blank" HTML attribute to the a tags.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg3ODk4Ni1jdXJyZW5jeS1zd2l0Y2hlci1tb2R1bGUtY2Fub25pY2FsLXVybHMtcmVkaXJlY3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Kaos](/forum/user/38377-kaos "View Kaos's Profile")**
- [![Kaos's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38377-kaos "View Kaos's Profile") Topic Author
- [ Offline](/forum/user/38377-kaos)

Less More

- Posts: 5
- Thank you received: 0
-
-

11 years 1 month ago -  11 years 1 month ago [\#212808](#212808) by [Kaos](/forum/user/38377-kaos "View Kaos's Profile")  Replied by *[Kaos](/forum/user/38377-kaos "View Kaos's Profile")* on topic *[Currency switcher module, Canonical Urls redirect](/forum/31-development/878986-currency-switcher-module-canonical-urls-redirect#212808 "-- HikaShop version -- : Starter  Hi there, Currency Switcher 1.How do I edit the code for the currency switcher to include country flags instead of the country currency and code. 2. I would also like the drop downs for the currencies to redirect to another domain, while retaining the currency switching functionality. In essence, all I want to do is select a country flag from a dropdown and then redirect to a specific domain of mine e.g a.)clicking on the usa flag will redirect to mydomain.com and display currency for all products in USD b.)clicking on the UK flag will redirect to mydomain.co.uk and display currency for all products in GBP  Canonical Url Redirection/Navigation I have made my products to redirect to external links on click, but now I need this links to open in a new window in the browser, rather than on the same page. How do I go about this?")*

I have been able to enable my product links to redirect to a new tab?window using the method you suggested. Thank you.
As for the customization of the currency switcher module, I have created an override in the html folder for the currency switcher module. Please could you give me more assistance/information on how to achieve what I need?
I have downloaded a sprite, with a png containing all the country flags I need to implement in my dropdown as well as a css file.

Last edit: 11 years 1 month ago by [Kaos](/forum/user/38377-kaos "View Kaos's Profile"). Reason: Changes in code and understanding

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg3ODk4Ni1jdXJyZW5jeS1zd2l0Y2hlci1tb2R1bGUtY2Fub25pY2FsLXVybHMtcmVkaXJlY3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 1 month ago [\#212825](#212825) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Currency switcher module, Canonical Urls redirect](/forum/31-development/878986-currency-switcher-module-canonical-urls-redirect#212825 "-- HikaShop version -- : Starter  Hi there, Currency Switcher 1.How do I edit the code for the currency switcher to include country flags instead of the country currency and code. 2. I would also like the drop downs for the currencies to redirect to another domain, while retaining the currency switching functionality. In essence, all I want to do is select a country flag from a dropdown and then redirect to a specific domain of mine e.g a.)clicking on the usa flag will redirect to mydomain.com and display currency for all products in USD b.)clicking on the UK flag will redirect to mydomain.co.uk and display currency for all products in GBP  Canonical Url Redirection/Navigation I have made my products to redirect to external links on click, but now I need this links to open in a new window in the browser, rather than on the same page. How do I go about this?")*

Hi,

We can't help further. This require to know at least some basic knowledge on PHP programming and is not only about copy/pasting 2 lines. We can give hints and help with small modifications, but this goes beyond that.
Please contact our partners or our our commercial jobs forum to find someone who can develop that for you if you don't have the skills to develop it yourself.
[ www.hikashop.com/home/our-partners.html](http://www.hikashop.com/home/our-partners.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg3ODk4Ni1jdXJyZW5jeS1zd2l0Y2hlci1tb2R1bGUtY2Fub25pY2FsLXVybHMtcmVkaXJlY3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.162 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
