Inserting Hyperlink Into cart notes

beervin
New Member
4 0 0

I have a tricky question... would it be possible to turn some of the text in the cart note into a hyperlink to a page? I'm trying to say 'Is this a gift? Check out our "Customizable Gift Tags" page', and make "Customizable Gift Tags" text clickable. Any help would be greatly appreciated!

0 Likes
beervin
New Member
4 0 0

Edit: Figured it out! I replaced the line of code above <textarea name="note" id="CartSpecialInstructions" class="cart-note__input">{{ cart.note }}</textarea> in Sections/cart-template.liquid with:

Is this a gift? Check out our <u><a href="/collections/personalized-gift-tags">Personalized Gift Tags</a></u>! Or include a printed note with your order.

0 Likes