Adding currency picker to header

Gurglesurfer
New Member
6 0 0

Hello,

 

I like to add the currency picker to my Pipeline Theme. I have done all the necessary steps but not sure whether you paste the {% include 'currency-picker' %} into the liquid theme?

 

Any help would be appreciated. 

 

Thanks

 

Replies 7 (7)

Ravipatel
Shopify Partner
35 0 2

Hello Gurglesurfer,

 

You can follow the step and paste your code

 

Step 1: Go to Your shopify admin

Step 2: Click on Online Store

Step 3: Inside action Click on Edit Code

Step 4: In Snippets Add new File

Step 5: Enter name of snippets "currency-picker"

Step 6: paste your code inside "currency-picker.liquid" file

Gurglesurfer
New Member
6 0 0

Thanks but I'm stuck on step 2 of the below.

Screenshot 2019-02-21 at 12.51.11.png

Sagar_Khadke
Shopify Partner
94 2 21

Hello,

 

Which app have you installed for the same? As for me if this-{% include 'currency-picker' %} needs to be added, it should be added in theme.liquid file.

Login to backend > Online Store > Click Actions for the theme your want to edit > Edit Code > theme.liquid

Add the code between <head> and </head> tag.

 

Let me know if any issues.

 

Thanks,
Sagar Khadke

Have something to say? Or need to say Hi! just mail me at sagar.khadke03@gmail.com or visit https://sagarkhadke.myshopify.com
Gurglesurfer
New Member
6 0 0

Ok thanks, but how do you insert it within the header? i.e. where in the code

Sagar_Khadke
Shopify Partner
94 2 21

Hello,

 

Look for a closing </head> tag and just before that line add the code.

 

Example:- 

 

-------------

-------------

{% include 'currency-picker' %}

</head>

Have something to say? Or need to say Hi! just mail me at sagar.khadke03@gmail.com or visit https://sagarkhadke.myshopify.com
Gurglesurfer
New Member
6 0 0

Ok, but in fact its not the header I want to place it but something similar in the following image which is just below the header:

 

Screenshot 2019-02-21 at 13.16.52.png

Thalie
Tourist
4 0 1

Currency picker code.PNGI did it and nothing appear in the header. Any Idea of the problem?