Hi,
We are using Shopware 6 for our telesale business process. Selling through phone.
When Admin creates the order, a confirmation email is sent to customer.
We use automatic promotion.
In the email template, the ordered items are randomly showed.
Some time the promotion placed as first line item. the email template will look crazy. First discount is applied and then the real time. PFA.
I want to avoid this.
So the promotion always should be in the bottom / last item.
I tried using sort, but it doesnot help.
{% for lineItem in order.lineItems|sort %}
is there any advanced way to do this?
Thanks.