I haven’t written a proper nerdy post in a while, and since it took me quite a while to figure this out in a way that worked for my use case, I decided to get this all written up, in case anyone else here takes enough pride in their coding, that they just refuse to pay 150 bucks a year for a thing they can write up in under two hours.
What am I even talking about? Discounts and fees, based on the Items added in your cart. I’m not talking about applying some Coupon Code based on the Cart Information, but a proper positive or negative fee, that shows up as it’s own line in the Cart. Here’s how you do it.