how to add decimals (,00) to price over 1000.

how to add decimals (,00) to price over 1000.

michelle012
Explorer
65 0 11

how to add decimals (,00) to price over 1000 on cart page ( cart-line-items) 

 

 

Schermafbeelding 2025-05-15 om 20.14.59.png

 

Replies 4 (4)

NYoder
Shopify Partner
1 0 0

Was the Liquid 'money' filter added to the price properties?

Nathan Yoder
www.nathanyoderdev.com
n.d.y.developer@gmail.com
(717) 461-3416
michelle012
Explorer
65 0 11

yes. the money filter is applied.

swym
Trailblazer
212 44 90

Hi @michelle012!

 

To do this, you’ll need to make sure your store’s currency formatting is using the correct value.

 

First, go to your store’s settings. 

Screenshot 2025-05-16 at 5.57.32 PM.png

 

2. Then click the "General" tab on the side menu. Under “Store defaults”, you’ll find a segment called “Currency display”. Click on the “...” symbol in the segment. 

Screenshot 2025-05-16 at 5.58.23 PM.png

 

3. After that, select “Change currency formatting”

swym_0-1747398743297.png

 

4. This will open a popup from where we can adjust the formatting.

Screenshot 2025-05-16 at 6.08.01 PM.png

 

5. The values you’ll need to change are the “HTML with currency” and “HTML without currency”, although you can make the same changes to all 4 values if you want the same changes to apply to emails as well.

 

In order for the decimal value to appear separated by a comma, you’ll need to make sure that the values within the double braces are both “amount_with_comma_separator”. This is the filter applied to the price value. You can find out more about the other price filters in this help article.

 

After that, you’ll need to save your changes. You should now be able to see the price with decimals, separated by a comma as shown in the screenshot below.

swym_2-1747398805021.png

I hope this helps! 

 

If my response helped you, please consider giving it a like (👍) and marking it as an accepted solution if it resolved your issue. Your feedback helps other community members with similar questions.

 

Regards, 

Matthew from Swym

- Appreciate the assistance. Show your approval with a Like! And when your question finds its answer, seal the deal by marking it as an Accepted Solution!
- Our Solutions: Wishlist Plus | Swym Back in Stock Alerts | Swym Gift Lists and Registries
michelle012
Explorer
65 0 11

hi there, thankyou for your response. I tried your solution and the only problem is that is changed the currency of the whole site. I try to have the checkout price with decimals and the rest of the store without decimals.