Closed melinath closed 5 years ago
ohhhhhh discounts were already associated with an item it’s just that we previously added them to every matching item in the cart? Interesting interetesting
Yeah we had a concept of the discount being added to the order (in addition to being added to each item individually) and it turns out it was a bad idea nobody wanted :joy:
Oh I see. Even with this PR it still adds to all current items in the cart, but it doesn't add to past and future checkout processes. Is that correct?
Yes, that's exactly correct :-)
Removed OrderDiscount model and made it so that:
This is the second phase of #763. I think it can be deployed in parallel with #923 since if this ships first it will result in discounts just never being displayed in the shop, which is fine.