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 7 (7)

Sasha2
Shopify Partner
172 22 46

@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
172 22 46

@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
15 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
Visitor
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
2 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