Skip to content

Fix #295: Discount applied to all price options when more than one price field is set on the form.

peterh requested to merge peterh/cividiscount:master into master

This is caused by a check for whether a discount has been applied to all line items happening one level too deep in the loop, so it's only checking within a single price field and then applying the discount to all price fields if that one price fields options all have the discount applied.

Merge request reports

Loading