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
3 Likes
@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
Hey I tried doing what u said and its not returning correctly, any ideas?
@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
5
Did you ever figure out a way around this? Looking to do the same
3 Likes
I’m also trying to figure out a way to do this.
3 Likes
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-translation-keys
I’m trying to do this now. Has there been any solutions to adding a link in the cart section at checkout?
1 Like
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>
Hi, Shopify doesn’t allow you to add links to the checkout process due to security purposes.