xtCommerce - confirmation mail with remarks

In the current xt:Commerce 4.0, by default, the remarks specified in the order are not transferred to the confirmation mail. The following code can help.
IN THE E-MAIL TEMPLATES (CONTENTS -> E-MAIL MANAGER) IN TEMPLATE (SEND_ORDER) INSERT THIS LINE:
{if $order_data.comments} <h2>comments</h2> <p>{$order_data.comments}</p><br /> {/if}
If everything goes smoothly, you will now have comments in the confirmation email. Do you need professional support for your online store? We at EXWE will be happy to answer all your questions and take your online store to the next level - just contact us!
Was ist dein Projekt? Wenn du uns darüber erzählen möchtest, rufen wir dich zurück!

Hello, my name is Meike. I take care of the EXWE back office and am responsible for our social media channels. All of our articles are meant to make your life easier and help you make decisions. Nevertheless, it can happen that something remains unclear, so: If you have questions about this article you can easily reach me at +49 231 93149827.
Learn all about features, usability, and more in the big store system comparison between Shopware 6 and Magento 2 (Adobe Commerce).
We'll show you how to analyze important information about your website in Google Analytics 4 (GA4) and track it with outbound clicks
You want to create your online store with the Shopware store system? Here you will learn everything you need to know for a successful Shopware download.