Rounding off of order value

Rounding off of order value

RishabhArneja
Visitor
2 0 0

Hi,

Our order values come to be in 2 decimal points after discounts, taxes applied, which creates issues with shipping labels and COD values, anyone faced the same and how can we resolve it.

Replies 3 (3)

richardcobain
Pathfinder
120 4 14

This issue often arises when the rounding settings in Shopify are not consistent with the shipping carriers or COD payment gateways. To resolve this, you can adjust your rounding settings under Settings > Taxes to ensure that the final order values are rounded to whole numbers. Additionally, check if your shipping provider offers an option for rounding or adjusting values. If the problem persists, consider using a Shopify app like Order Rounding to automatically round up or down the total order amount to match the required values.

Promer-Alena
Shopify Partner
250 26 103

Hi @RishabhArneja 

 

This is a common issue, especially with cash-on-delivery (COD) payments and shipping labels that require whole numbers. Shopify doesn't have a built-in rounding feature for order totals, but here are a few solutions:

  1. Use Shopify Scripts (Shopify Plus) – You can create a script to round the final order value to the nearest whole number before checkout.
  2. Adjust Pricing or Discounts – Modify discount settings to ensure they round to whole numbers, avoiding decimals in final prices
  3. Use a Custom App – Apps like Order & Product Fees or a simple Shopify function via Shopify Flow (if applicable) can round totals automatically.

Hope this helps!

Abel_Lesle
Shopify Partner
165 1 14

Hi @RishabhArneja ,

 

I've faced the same issue on our e-com store that sells pickles. The way we solved this was through Function based discounting to round the prices down / up.

 

For now, we have it deployed as a custom solution for the store using our app - but I'd love to add it in for public use as well seeing that there is a serious use case for it, and it's not easily solved otherwise.

 

Shopify supports price rounding, but only for other markets that are not using your base currency. It's detailed in this help article.

https://help.shopify.com/en/manual/international/pricing/rounding

 

Let me know if you do go ahead with the app and I'll help configure this for you. Feel free to reach out on DM / through the app's support.

 

Best

Founder - Dollarlabs : Ultimate Discounts (5★)
- If you can think of a discount, you can build it
- Built for Plus merchants using Rust