Hoping someone has tackled this problem before me, and can help me save some time. I am working on a project that has a custom discount structure, to complex for the built in promotions logic so to handle that we're assigning that discount manually via an observer, on the event sales_quote_collect_totals_after. This worked fine, up until I ran a test with a 2nd discount, a manual code, that gave a 10% discount.
Both discounts co-exist fine, however they're being applied in the reverse order for example...
Base Price: $23.97 Discount: -10% ($2.397) Plan Discount: -$3.00 (observer)
This should be reversed to the following.
Base Price: $23.97 Plan Discount: -$3.00 (observer) Discount: -10% ($2.097)
If anyone has any ideas or thoughts on how to move forward with this, I'd greatly appreciate it.