Hi DW,
We have a solution where we set the price to 0,00001 to act as a free product, taken from here (forum post).
But after upgrading to 9.14.3, some of the properties on our orderline.UnitPrice breaks, shown here below.
Hope you can help
Best regards,
Mikkel Hammer
Developer forum
E-mail notifications
Setting price to 0,000001 causes error in some price properties
Mikkel Hammer
Posted on 12/01/2023 10:33:05
Replies
Nicolai Pedersen
Posted on 18/01/2023 17:20:03
This post has been marked as an answer
We did make some changes related to vat calculations - seems like it could be related to that.
What happens if you set the amount to 0.001?
And what is your rounding settings under prices in settings->ecommerce->advanced?
Votes for this answer: 1
Mikkel Hammer
Posted on 20/01/2023 10:38:20
Hi Nicolai,
It seems that 0.0001 (3 extra zeroes) is the magic number that works, 0.00001 (4 extra zeroes) is where it begins to break.
And we have no rounding settings setup in settings->ecommerce->advanced :)
Thanks for the help
Best regards,
Mikkel Hammer
You must be logged in to post in the forum