Liquid, JavaScript, themes, sales channels
Hello Shopify,
I'm having some problems with the trailing zeroes on my website:
https://webshop.tenkate-deventer.nl/
For example on this on this product page: https://webshop.tenkate-deventer.nl/products/geurkaars-baobab-foty
When you load the page, the trailing zeros appear, which is correct. However, when I change the product variant, the trailing zeros disappear, which is not correct. The same problem appears when I try to search a product in the search bar. The product that are shown in the search preview don't have the trailing zeros.
In the theme code I changed all the "money_without_trailing_zeros" to "money", but on a few specific places, the trailing zeros are still hidden.
Any idea where I have to look to fix this?
Thank you
Kind regards
Wouter
can you add me in your store so that i can check the code and fix it?
Hello, I can give you partner acces if you send a request for https://tenkate-deventer.myshopify.com/.
Thank you!
i have sent you the collab. request. my name would be 'candisoft analytica'.
- please accept it so that i can work further.
accepted!
@wwwebshop3333
- Your work is completed successfully. please check.
- I just needed to change the money filter from 'money' to 'money_without_trailing_zeros'
NOW
- If you want to replace comma(,) with dot(.) in price then please give me access for settings. It can be done from settings->General->Currency format.
Hi Candisoft, thank you for checking. But I meant the opposite. I nee €XX,00 everywehere instead of €XX. So with the trailing zeros.
For example, this is incorrect: https://webshop.tenkate-deventer.nl/collections/nieuwste-producten-1/products/geurkaars-baobab-les-p...
@wwwebshop3333 ,
ahh ok, but in current live theme, there is exactly you want now. so no need to change anything.
@pioneer100 The problem is, not on every place the price is showing with zeroes. For example when you switch product variant, the trailing zeros disappear
i see. let me fix it.
Thank you!
Found a solution?
i need access for settings, can you please give me?
Yes, done!
@wwwebshop3333 ,
I fixed the issue. please check.
https://webshop.tenkate-deventer.nl/products/geurkaars-baobab-foty
Great! Thank you!
Can you tell me what you had to do to fix this?
Thank you
I just changed a complex Javascript code from theme.js file.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024