Problem/Motivation

Promotions are not handled correctly. This is follow up to #3168933: Incorrect price with product promotions in Paytrail where we removed promotion support.

Proposed resolution

1. Product collection should be disabled if order has any order level promotions.
2. Use OrderItem->getAdjustedUnitPrice() to calculate discounted unit prices (this should cover most promotions).

@todo

Comments

tuutti created an issue. See original summary.

tuutti’s picture

Issue summary: View changes

  • tuutti committed 18fa615 on 8.x-2.x
    Issue #3169157: Fix promotions
    
tuutti’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.