Questions tagged [rounding]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
96 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 ...
Henrik's user avatar
  • 383
1 vote
1 answer
231 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 ...
marsask's user avatar
  • 11
1 vote
1 answer
323 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....
Jay's user avatar
  • 367