Still chasing down my bug in which checkout fails to remove discount coupon when allowed products are removed from cart after redemption code is accepted.

The bug manifests regardless whether allowed and denied products are different product types -- I tested for this just now.

It only happens when the shipping fee > 0. When free options shipping is selected, the discount is removed. Switch back to paid shipping, and the discount returns.

See for yourselves at ShedKitStore.com. I created a new coupon with redemption code EST5OFF ... it's for $5 off Estate shed kit. Add Estate to cart, then add a different shed kit to cart. (All shed kits are the same product type.) Go to checkout, redeem the EST5OFF code, then return to the cart and remove the Estate. Go back to checkout, select home delivery for $125, and proceed to billing page. Note the $5 discount is still applied in the order total, even though Top category is denied in the coupon's restrictions and only the Estate is allowed.

If anyone needs to create a new user account, please include the word TEST in the name.

Sean