{% import "@SyliusShop/Common/Macro/money.html.twig" as money %} {% set order_promotion_adjustment = constant('Sylius\\Component\\Core\\Model\\AdjustmentInterface::ORDER_PROMOTION_ADJUSTMENT') %} {% set order_promotions = sylius_aggregate_adjustments(order.getAdjustmentsRecursively(order_promotion_adjustment)) %} {% set class = class|default({ row: 'd-flex justify-content-between align-items-center py-2 border-bottom', highlight: 'fw-medium', }) %} {% if not order_promotions is empty %}
{% for label, amount in order_promotions %} {% if not loop.first %}
{% endif %} {{ label }}: {{ money.convertAndFormat(amount) }} {% endfor %}
{% endif %}
{{ 'sylius.ui.promotion_total'|trans }}: {{ money.format(order.orderPromotionTotal, order.currencyCode) }}