We added fixed amount offers for the entire order, but not for order items.
Now that the new offer API has landed, the new offer will be pretty short, so let's do it.

Comments

bojanz created an issue. See original summary.

vasike’s picture

Status: Active » Needs review

Here is a PR for this.

Note : i couldn't make the test working for the same order item.
So first i checked with offer amount greater than item unit price.
And then i tried to update the order item unit price.
But i couldn't get the "values" updated. Did i miss something?
Currently in the PR i used a second product and order item.

  • bojanz committed 5a69573 on 8.x-2.x authored by vasike
    Issue #2891257 by bojanz, vasike: Add the fixed amount order item offer
    
bojanz’s picture

Status: Needs review » Fixed

Simplified the test and committed. Thanks!

Status: Fixed » Closed (fixed)

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