How to round online checkout total to whole numbers for COD orders?

Topic summary

Main issue: A Shopify store relying on Cash on Delivery (COD) in markets like Bangladesh and Southeast Asia needs checkout totals to be whole numbers because decimals aren’t used in cash payments. Percentage-based (storewide) discounts create decimal totals, making cash collection impractical.

Constraints: Shopify doesn’t allow direct editing of the final order total, and rounding isn’t automatically applied after discounts. Manually adjusting each COD order isn’t feasible.

Goal: Ensure the final checkout amount is a whole number without changing products or quantities.

Requested approaches: Suggestions via Shopify settings, third-party apps, practical workarounds, or a custom checkout/COD form that enforces rounding.

Key terms: COD = Cash on Delivery; percentage-based discounts can produce fractional totals.

Status: No solutions or decisions yet; the poster is seeking reliable methods and experiences. Discussion is open with unanswered questions about how to implement rounding at checkout for COD orders.

Summarized with AI on March 2. AI used: gpt-5.

Hi everyone,

I’m running a Shopify store that heavily relies on Cash on Delivery (COD), especially for markets like Bangladesh and Southeast Asia, where decimals are no longer used in cash payments.

The problem is that when I apply percentage-based discounts (storewide discounts), the final checkout total often ends up with decimals, which makes it impossible for couriers to collect cash.

But Shopify does not allow directly editing the final order total, and percentage discounts still generate decimals. Manually editing every COD order is not practical.

My goal is very simple:
:backhand_index_pointing_right: Just make the final checkout amount a whole number, without changing products or quantities.

Has anyone found a reliable solution?

  • Shopify settings

  • Apps

  • Workarounds

  • Custom checkout / COD form approach

Any help or experience would be greatly appreciated. Thanks in advance!

2 Likes