Problem/Motivation

Extra item not removed when the coupon is removed from the cart.
$added_order_items array is always null in the clearOrderItems method.

Steps to reproduce

- create "Extra Items with Percentage Off (Per Item)" promotion type
- apply coupon the cart
- remove coupon from the cart

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

leevan created an issue. See original summary.

leevan’s picture

Patch to fix it

leevan’s picture

Status: Active » Needs review
abramm’s picture

Status: Needs review » Needs work

Hi leevan,

Your suggestion sounds logical but I think it'd make more to move setData to prepareExtraItem().

leevan’s picture

Status: Needs work » Needs review
FileSize
2.56 KB

Hi abramm! Fixed

  • leevan authored b9b0886 on 8.x-1.x
    Issue #3232658 by leevan: Extra Items with Percentage Off (Per Item)...
abramm’s picture

Assigned: leevan » Unassigned
Status: Needs review » Fixed

Thanks. Pushed to 8.x-1.x.

Status: Fixed » Closed (fixed)

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