How can I remove zeros after decimal in prices?

Dear all,

I would like to remove the 0’s after the decimal point from the price.

What I would like :

25€ and 54.50€

What I would like to change :

25.00€ and 54.50€

Can you help me find a solution, please ?

My website is www.hedisonparis.com

Thank you !

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:

Hi Muhammad,

this does not work for me…

Do you know another way of doing this?

Changing {{amoun}} to {{amount_no_decimals}} does not work since this will remove all decimals and I only want to remove .00