Jump to content

Replying to Coupons Yield Negative Totals

Post Options

  or Cancel

Topic Summary

Elise Alley

Posted 10 July 2013 - 01:13 PM

Hi jpeck,

Thanks for this!  I'll pass it along to the developers so they can take a look.

Thanks again!



Posted 10 July 2013 - 11:37 AM

Coupons can create negative cart totals.

Steps to replicate:

1. create a coupon for $99 off
2. create an item that costs $1
3. add item to cart
4. apply coupon
5. cart total now reads -$98

Suggested fix:

Cart total should be min(0,$total)

Review the complete topic (launches new window)