Shopify themes, liquid, logos, and UX
Hello! I am looking for assistance in editing my code so that my order notes will hold line breaks. As you can see in my order note on shopify I have each item broken apart and when printing my orders it is merging everything into a paragraph. This is very hard to follow and I often find myself having to open the app to view the notes with the line breaks.
My code is as follows
<b{% if order.note %}
<h2>Note</h2>
<p>{{ order.note }}</p>
{% endif %}
Solved! Go to the solution
This is an accepted solution.
Hi @rileycreekd,
You can follow these steps:
- Step 1: Go to Order Printer (legacy) app > Manage templates.
- Step 2: Edit template default > Find '{{ note }}' and add code:
Code:
{{ note | newline_to_br }}
Error in your first line of code.
Use this one
{% if order.note %}
<h2>Note</h2>
<p>{{ order.note }}</p>
{% endif %}
This is an accepted solution.
Hi @rileycreekd,
You can follow these steps:
- Step 1: Go to Order Printer (legacy) app > Manage templates.
- Step 2: Edit template default > Find '{{ note }}' and add code:
Code:
{{ note | newline_to_br }}
Thank you so much for a quick and easy to follow answer!!
Hi @rileycreekd,
You're welcome and nice to meet you 😊
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025