How can I remove the comma from my price display?

Hey Guys,

I have a question. How to remove the comma in my price. I have for example “15,00 EUR” and I want “15 EUR”.

Does anyone have a clue?

Hey @whiteflakes

Welcome to Shopify Community

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

Thanks

1 Like

Hi Whiteflakes,

To remove the comma in the price format in your Shopify store, you’ll need to adjust the way prices are displayed.

This typically involves modifying the Liquid code in your theme.

Here’s a general guide on how you can do this:

Access Your Shopify Admin → Go to Theme Editor → Edit Code →

Locate the Code for Price Display (Look for the code responsible for displaying the price. This might be in files like product.liquid, collection.liquid, or product-card.liquid, depending on where you want to make the change.) →

Adjust the Price Formatting → You’ll likely see something like {{ product.price | money }}.

To remove the comma, you need to adjust this code.

Modify the Price Code:

Replace {{ product.price | money }} with {{ product.price | money_without_currency }}. 

This filter will display the price without commas.

Save Changes.

PREVIEW

1 Like