How can I remove decimals from variant prices in all currencies?

Topic summary

Issue: Decimals were successfully removed from prices in all currencies on initial page load, but they reappear after selecting a product variant (a specific option). USD, the store currency, remains without decimals due to settings.

Evidence: Screenshots show decimals returning post-variant selection. A product link with password (“secret”) is provided to demonstrate the behavior.

Likely cause: Dynamic price update on variant change triggers a conversion/formatting routine that reinstates decimals for non-USD currencies. This suggests a theme or script-level formatting inconsistency.

Guidance: Reference to Shopify Markets currency formatting documentation is provided to ensure consistent formatting across currencies.

Actions/next steps:

  • Review theme code handling variant selection and dynamic price updates to apply the no-decimal format consistently.
  • Check currency formatting settings for each market/currency beyond USD.
  • Provide collaborator access/code for implementation review if needed.

Status: No resolution yet. Help offered contingent on code inspection; pending implementation guided by Shopify currency formatting documentation.

Summarized with AI on January 3. AI used: gpt-5.

Hi all,

decimals continued…

A couple weeks ago ThePixelEdge helped me remove the decimals ( ,00) from my prices for all currencies. Thank you again so much for doing this!

Unfortunately we forgot about the variants..

When a product page is first loaded, the price displays without any decimals :+1: as it should.

But once I select another variant, the decimals are back.

This happens with all currencies, except USD (USD is the store currency and doesn’t have this issue because I was able to remove the decimals in the settings). Screenshots are Singapore dollar.

I would love some help with this.

Here is a style with variants.

https://inibo.co/collections/latest-treasures/products/solis-star-studs-9k-solid-gold?variant=42893268287667

pw: secret

Please dm me for the code If you need collaborator access.

Thank you!

@TerenceKEANE ? @ThePixelEdge ?

Hi Saraki,

This is mostly happening due to some type of conversion of price when you click on variants.

Would love to help you out, but I need to look at the code & it’s implementation.

Thank you,
Harsh Patel.

Hey @saraki

Welcome to Shopify Community

Kindly please check Shopify currency formatting documentation >> here this will help you.

Thanks