Can the surcharges / discounts additional costs also be displayed in the e-mail confirmation?
Yes, the following code must be inserted in the email template (preferably directly above the shipping costs)
{% set collectedSurchargeDiscountAdditionalCost = null %}
{% if order is not empty and order.customFields is not empty %}
{% if order.customFields.acrisSurchargeDiscountAdditionalCosts is defined %}
{% if order.customFields.acrisSurchargeDiscountAdditionalCosts is not empty and order.customFields.acrisSurchargeDiscountAdditionalCosts|length > 0 %}
{% set collectedSurchargeDiscountAdditionalCost = order.customFields.acrisSurchargeDiscountAdditionalCosts %}
{% endif %}
{% endif %}
{% endif %}
{% if collectedSurchargeDiscountAdditionalCost is not empty %}
{% for surchargeDiscount in collectedSurchargeDiscountAdditionalCost %}
{{ surchargeDiscount.label|sw_sanitize }}: {{ surchargeDiscount.price.totalPrice|currency(order.currency.isoCode) }}
{% endfor %}
{% endif %}
#### NOTE ####
The best place for the above code is directly above the shipping costs - the code looks like this and does not need to be adjusted:
{% for shippingCost in order.deliveries %}
Shipping costs: {{ shippingCost.shippingCosts.totalPrice|currency(currencyIsoCode) }}
{% endfor %}