How to add a link to the theme language fields

How to add a link to the theme language fields

cecodesigns
Tourist
7 0 3

hey everybody,

im currently in the Theme, Language (English) area and can see a list of lots of fields, where I can change the text of fields.

On one field I want to be able to put a link in it, but I'm not sure how to do so.

In the 'Checkout tip" section on the page, I want to add to the 'description' field -

"All donations go to 3 Ocean Preservation charities}" where the 'donations' is a link to a different Shopify page.

 

Thank you for any help,

Coby

Replies 9 (9)

Sasha2
Shopify Partner
173 22 47

@cecodesigns Hey,

You can try to use the next one translation text with the link present:

All <a href="url_to_your_page">donations</a> go to 3 Ocean Preservation charities
cecodesigns
Tourist
7 0 3

 

Hey I tried doing what u said and its not returning correctly, any ideas?Screenshot 2020-06-28 at 16.59.57.pngScreenshot 2020-06-28 at 17.00.09.png

Sasha2
Shopify Partner
173 22 47

@cecodesigns 

It seems, for this one field HTML tags are not possible to use.

You can contact Shopify support with an asking to change a type of this field to the HTML type to be able to provide a link for the field.

JJM
Excursionist
16 0 12

Did you ever figure out a way around this? Looking to do the same

RawCutSB
Tourist
7 0 3

I’m also trying to figure out a way to do this.

phartwig
Shopify Partner
1 0 0

This won't help with checkout translations, but for everybody whos looking for using links/html in other translations:

Hey, You can add html in translation but you have to add to label the suffix '_html'

https://community.shopify.com/c/shopify-design/custom-html-in-default-language-text/td-p/239695

https://shopify.dev/themes/architecture/locales/storefront-locale-files#including-html-in-translatio...

 

BuzWhiteSigns
Visitor
3 0 1

I'm trying to do this now. Has there been any solutions to adding a link in the cart section at checkout? BBB.JPGaaa.JPG

BCC_Tx
Tourist
6 0 1

I used the suggested method as stated in the beginning and it worked for me.  Craft theme.

<a href="url_to_your_page">donations</a>

 

david-kaplan
Shopify Partner
14 0 0

Hi, Shopify doesn't allow you to add links to the checkout process due to security purposes.