-
The Order resource (admin and shop) now exposes a new
orderAndItemPromotionTotalproperty, next to the existingorderPromotionTotal.orderPromotionTotalsums the unit-level, item-level and order-level promotion adjustments together. The unit-level part is already reflected initemsSubtotal/each item'ssubtotal, so combiningitemsSubtotalwithorderPromotionTotaldouble-counts that part.orderAndItemPromotionTotalsums only the item-level and order-level adjustments, so it can safely be added next toitemsSubtotalwithout double-counting.The property is available in the
sylius:admin:order:index,sylius:admin:order:show,sylius:shop:cart:showandsylius:shop:order:account:showserialization groups.