using latest build from git.

- add two 10% discount coupons..
- total was $159.00 expected $15.90 and $14.31 for the two discounts.
- but they are $30.21 and $30.21

Comments

pcambra’s picture

Status: Active » Fixed

Yes, I was testing further and I noticed this problem, I've used the same approach than in the fixed amount coupons, but it will probably raise for you #1530292: PHP Fatal error: Allowed memory size

I've just pushed a fix, thanks.

pcambra’s picture

Title: two or more percent coupons are not calculated correctly (looks like they are summed) » Percentage coupon log calculation wrong behavior
roam2345’s picture

Status: Fixed » Needs work

Yup as suspected causes that mem issue for me.

pcambra’s picture

Status: Needs work » Fixed

Already commited as part of #1530292: PHP Fatal error: Allowed memory size :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

satvision83’s picture

Issue summary: View changes

Updated and the post is not relevant anymore.