Hi,
How can I remove the decimals on the product price? It worked only on the main currency (CHF) but not on the other currencies for the other markets like Euro or US Dollar.
Happy if you can help me ![]()
Thank you, Jan
@Jan7777 do you have price.liquid file where you have product.price??? are you familiar with the liquid code?
@suyash1 do you have any solution here for me ? ![]()
@suyash1 thank you, but this I have already done (you see the Swiss Frank is without decimals, as this is my main currency) my question is, how to have no decimals on other currencies like us dollar, euro, Yen, etc
In this link you can not adjust it and it is still showing with decimals. thank you very much for advise
@Jan7777 then try making price without trailing zeroes, in the price.liquid, line 25, after default 1999, add this to check
| money_without_trailing_zeros
No, did not work, this set everything to zero, so full price is zero
@Jan7777 - can you give screenshot of that line?
@ThePixelEdge can you maybe help here? ![]()
@TerenceKEANE do you have maybe a solution ? You have been recommended by another user ![]()
Hi!
I’m sure you’ve seen that I’ve helped many people here. ![]()
Yes, we can solve this issue. I’ll need to write some custom JavaScript code. If you have a Shopify Plus subscription, we can implement this across all pages. If you’re using standard Shopify, we can do it on all pages except the checkout page. There may be a small cost involved! I’m sharing some examples below. If you’re interested, feel free to reach out via private message or through my signature.
Take care..
before
after
many thanks, but we solved it already in the meantime. all the best