Showing prices as whole numbers
Show prices as whole numbers rounds the prices displayed by one Bundlex Bundles widget to the nearest whole amount. For example, $50.40 displays as $50 and $59.50 displays as $60. Use it when the shorter display suits your catalog and customers.
This changes the display only. Customers are still charged the exact amount at checkout, decimals included.
Choose where to round displayed prices
If you want the same formatting across your storefront, start with Shopify's currency formatting. It affects the places that use the format you change, including Bundlex Bundles. Shopify documents this setting for your store's base currency; it does not control the display of other currencies or remove checkout decimals.
- In your Shopify admin, go to Settings > General.
- Under Store defaults, open the three-dot menu and choose Change currency formatting.
- For Bundlex Bundles, change the amount token in HTML without currency to
{{amount_no_decimals}}. Keep the currency symbol and any text you want, then save.
Bundlex Bundles reads HTML without currency. Your theme can use HTML with currency in other places, so check the relevant formats before expecting every price to match. See Shopify's currency-formatting guide.
Use the Bundlex Bundles checkbox instead when you want whole numbers only inside the bundle widget, for instance if the rest of your catalog uses charm pricing (9.99, 19.95) that you don't want rounded.
| Shopify setting | Bundlex Bundles checkbox | |
|---|---|---|
| Applies to | Storefront prices using the changed format, for the base currency | One bundle's widget and supported theme prices it updates |
| Setup | Save the currency format | Save the bundle; activate it if it is Draft |
| Changes the charge? | No | No |
Where to find the setting
- Open the bundle you want to edit.
- Go to the Advanced tab.
- In the Prices card, tick Show prices as whole numbers, then save. If the bundle is Draft, activate it when you are ready to show it.
Prices are rounded, not cut off
This is the part most likely to catch you out. Bundlex Bundles rounds to the nearest whole amount rather than deleting the digits after the decimal point, so a price can display as higher than the amount charged:
| Charged at checkout | Shown in the widget |
|---|---|
| 43.20 | 43 |
| 57.60 | 58 |
| 2,629.95 | 2,630 |
| 2,366.96 | 2,367 |
| 2,388.17 | 2,388 |
| 21.21 | 21 |
| 1,998.00 | 1,998 |
Amounts from .50 upward round up; smaller fractions round down. This is the same nearest-whole rule Shopify documents for its no-decimals formatting.
It applies to every price in the widget
The rule is uniform. Once it's on, these all lose their decimals together:
- Offer prices and per-item prices.
- Compare-at and struck-through prices.
- Savings amounts.
- Sticky add to cart and countdown text.
- Price template variables in your own copy.
The checkbox does not let you round selected tiers or individual price fields separately.
Related settings
- If Update theme product price is also on, the supported theme price surfaces that Bundlex Bundles updates use the same formatting. Other theme elements can keep their own format.
- This setting does not change your prices. To actually charge round amounts, edit your product prices in Shopify.
Check the exact charge before publishing
- Preview an offer whose total has decimals and compare the checkbox off and on.
- For the published deal, select the same offer on the storefront and add it to the cart.
- Check the exact product subtotal at checkout. It should retain the original cents even though the widget rounds them.
- Check other currencies and theme price elements separately if your store uses them.
For low-priced items, rounding can make the displayed saving look different from the actual percentage. Keep decimals if the rounded amounts would confuse customers.
Why your theme already shows fewer decimals than Bundlex Bundles
Some themes strip decimals themselves, but only when they are zeros. That's why a theme can print 1,998 for a 1,998.00 product while Bundlex Bundles prints 1,998.00 on the same store. It's a theme behavior rather than a store setting, and whole-number rounding can also change non-zero decimals. Compare an amount such as 19.95 before choosing a format.
Was this article helpful?
Your feedback helps us improve our docs.