Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.1
-
Fix Version/s: 3.1.2
-
Component/s: CiviContribute, CiviEvent
-
Labels:None
Description
Price set field prices get reset with thousands separator when edited, breaking total price calculation.
To reproduce:
1. create a price set with text/numeric field and price above 1000, do NOT use thousands separator.
2. price set works as expected
3. edit price set field. note price is now displayed with thousands separator
4. save price set field without altering price
5. price set now calculates total price based on digits left of thousands separator
Note that the calculation is correct in the live-updating total on event registration page (for instance), but fails on the confirmation page. See attached screenshot.
Workaround: remember to always manually remove thousands separators when editing a price set field.