Skip to main content

Questions tagged [rounding]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

Rounding Total Price Adjuster Commerce not working correctly

I have this adjuster which should round prices to the nearest 5 decimal. I am pretty sure it had been working, and now it does not anymore. I tried to debug, but I don't find the error. In my commerce ...
2 votes
1 answer
119 views

how to round Discounts (either half of full number) or total of cart

i have a 10% Discount for more than 6 items. With several items i get discounts like 12.48. How can i round this discount amount, so that this amount is also applied for the cart total amount? The ...
1 vote
1 answer
241 views

Craft Commerce: Custom Rounding (for taxes and discounts)

Is there a way to change the default rounding behaviour of Craft Commerce? Here in Switzerland we always round to 5 cents, so amounts like 9.99 or 9.22 don't really exist. Here's an example: 9.99 ...
1 vote
1 answer
349 views

Rounding issue with Craft Commerce

We've had this problem for a while now and it's largely gone un-noticed but I'd like to raise it. We have a bunch of products that are discounted when you buy them in bulk. E.g. 12 products for 69.99....