Re: Change country code to flag in language selector

Change country code to flag in language selector

nadiyqabrosimov
Tourist
6 0 1

Hi! I want to change the country code to the flag here in the language selector.

nadiyqabrosimov_0-1707252428727.png

 

Replies 6 (6)

Asad-Mahmood
Trailblazer
181 34 41

To include a flag within your currency selector, you'll need to modify the code of your currency selector. Locate the specific section of the code that Manages the currency selector and integrate an image with each currency option using the following HTML

<img src="flag.png" />

 

If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp





nadiyqabrosimov
Tourist
6 0 1

Thanks! Where should I paste it? I expected that I could use emoji rather than png for flags.

nadiyqabrosimov
Tourist
6 0 1
Hi! This is the website: https://tyra.com.ua/
The theme is Dawn.
Sweet_Savior_3
Shopify Partner
1337 102 138

Hey Do you want like this :

Sweet_Savior_3_0-1708162326928.png

?

 

It will need a code tweak.

 

Thanks

 

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!
nadiyqabrosimov
Tourist
6 0 1

Of course, that's why I'm asking. What piece of code should I paste and in what liquid? 

Sweet_Savior_3
Shopify Partner
1337 102 138

Hello @nadiyqabrosimov 

 

It won't be easy to move the code if you are not a technical person with code knowledge. So if possible seek help of a developer to help you by moving the code to the header.

 

Thanks

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!