Liquid order note <a> link is not displayed

Wabema
New Member
8 0 0

Hello folks,

have been looking for a solution in the forum for a while but unfortunately haven't found any.
I would like to add an individual link to the order notes for the customer to download. However, the "<a" link does not resolve. I also tried to add <html> or {{order.note | to the liquid url}} to use ...
The tags can be issued from links, but the character length is limited to 40 characters 🙂

do you have an idea how I could solve that?

Thanks in advance!

(Screenshots in the attachment)

Markus.

Bildschirmfoto 2021-10-27 um 20.57.52.png

Bildschirmfoto 2021-10-27 um 21.03.28.png

Reply 1 (1)

LitCommerce
Astronaut
2860 684 732

Hi @Wabema ,

If it is just image link, you can follow these steps:
- Step 1( image 1 😞 Add the name in order notes, not the whole html. Ex: if you want to display an image named ABC.png you just need to add ABC.png at order notes.
- Step 2( image 2 😞 Add this code in Customize:

<h2>More Info</h2>
{%- if order.note != blank -%}
Planzeichnung: <a href="{{ order.note | asset_url }}">HERE</a>
{%- else -%}
--
{%- endif -%}
<hr>

Or simply a link, you can still add the link in the note and display it with the code:

<h2>More Info</h2>
{%- if order.note != blank -%}
Planzeichnung: <a href="{{ order.note }}">HERE</a>
{%- else -%}
--
{%- endif -%}

Hope it helps!

LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool.
Effortlessly sell on biggest marketplaces like Amazon, Etsy, eBay, Facebook etc with bulk listing tool, real-time sync & smart order management. Use LitCommerce free for 1-year now!