How can I eliminate trailing zeros from product prices?

Hey Guys,

Does anyone know how to remove trailing zeros from product prices? I think it just looks cleaner without them.

Thanks

Austin

1 Like

@piwinskiaustin

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

Hi @piwinskiaustin ,

Please follow these steps:

Or you can refer this guide: https://help.shopify.com/en/manual/payments/currency-formatting

Hope it clear to you.

Great! That worked!

Hi @piwinskiaustin ,

We are very happy when seeing our comments can solve your problems. If you find our answer is helpful, feel free to Accept as a Solution and hit Like for them. It absolutely encourage us.

Plus, if you have any questions or need further support, feel free to post it in Shopify Community or directly send me a message, we will try our best to help you.

Hope you can reach your full success in the future!

Greetings, LitExtension Team

Hey,

  1. In your Shopify Admin go to online store > themes > actions > edit code and search theme.liquid file.
  2. In your theme.liquid file, find the (press CTRL + F on Windows or command + F on Mac)
  3. paste this code right above the tag: