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.
You want to redesign your website? With our tips and tricks and the website relaunch checklist, your project will be a complete success!
Google Analytics 4 - Our guide to switching to the new version GA4 Meta Description: Learn all about the new version and Enhanced E-Commerce Tracking with GA4.
Here you can find ten good PayPal alternatives for your online store: Easy to integrate payment methods for a fast payment processing of your customers.