Removing Decimals from Price

Hey!
I need to edit the currency formatting option - currently the website shows the price with decimals, so a product that costs INR 12,000 is displayed as INR 12,000.00 - this is looking a bit odd - I tried replacing the data within currency formatting - changed it from ₹ {{amount}} TO THIS ₹{{ amount_no_decimals }}

Didn’t work!

The video I followed online said to change the Email with currency section, tried that as well as

HTML with currency - NO LUCK!

PLEASE HELP
WEBSITE URL:
www.mahru.in

You need to add a filter like this

{{ product.price | money_without_trailing_zeros }}

So in your price.liquid file add this | money_without_trailing_zeros in all the places price is showing inside html elements

Hi @snk729

You can do that by changing Currency display settings in your store admin > Settings > General > Store defaults> click “…” in Currency display > Change currency formatting, replace all {{amount}} with {{amount_no_decimals}} and save.