Skip to main content
All CollectionsE-mailsDesign of an emailPersonalize an email
Liquid: round prices to two decimals, with comma and euro sign
Liquid: round prices to two decimals, with comma and euro sign

Are the prices of products rounded to multiple decimas and a point? If so, manipulate the liquid as follows.

Francine avatar
Written by Francine
Updated over 10 months ago

Is the price of a product shown without a euro sign, with a dot and does it contain several decimals? Set the product price to be shown as a (European) price with the following liquid:

{{ product.price | money | with_currency: '€' | with_comma }}

Prefer to use a different currency sign, or without currency? Replace the euro sign with any desired currency sign or remove the "with_currency" section.

Without manipulation

With manipulation

Did this answer your question?