TC for VM is working as expected but we are having problems with the way the discount is applied if an item is removed.
Example
- Item 1 added for $1800
- Item 2 added for $20
- Coupon applied for $300 discount that is only good for Item 1
- total for order, after discount is $1520
All of that is great and shows the module is working out as we want.
Now, the problem is when the customer modifies the cart.
- customer decides they don't want item 1 so they delete it from the cart
- $300 discount does not get removed with product like it should
- New order total is -$280
- New order total SHOULD BE $20 because the $300 discount only applied to item #1 which is no longer in cart.
Any ideas on this?