Venera
Member-
Posts
92 -
Joined
-
Last visited
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Everything posted by Venera
-
How to remove trailing decimal .00's from product pricing
Venera replied to MarikaS's topic in Customize with code
It was very hard to understand because I can't code, but I did it! I noticed that this code does not work when the products are on the main page - not on the store page. Do I need to paste the same code on the main page? Could you tell me how to do this thank you very much!- 31 replies
-
- product
- product-page
-
(and 2 more)
Tagged with:
-
How to remove trailing decimal .00's from product pricing
Venera replied to MarikaS's topic in Customize with code
Hello everyone! I also use this plugin, double the price is displayed for discounted products, on the main page and on the store page and in the product page itself. In addition, on the product page, all products that "you might also like" are displayed with a double price, regardless of whether there is a discount or not. <!-- Reformat Product Price (15,000.00 -> 15000) --> <!-- Author: Dmitry Kiselyov @_dmitrykiselyov --> <script src="https://cdn.jsdelivr.net/npm/@ryanmorr/ready@1.4.0/dist/ready.umd.js"></script> <script>!function(){function reformatPrice(price){var priceClone=price.cloneNode(!0);function reformat(){priceClone.innerHTML=price.innerHTML;var target=priceClone.querySelector(".sqs-money-native")||priceClone,textNode=priceClone.querySelector(".sqs-money-native");target.textContent.length>1?target.textContent=format(target.textContent):textNode&&(textNode.textContent=format(textNode.textContent))}function format(text){return text.replace(",","").replace(/\.\d{2}/,"")}function watch(){var observer;new MutationObserver(reformat).observe(price,{childList:!0})}priceClone.classList.add("product-price-clone"),price.parentNode.insertBefore(priceClone,price.nextElementSibling),price.style.display="none",reformat(),watch()}ready(".product-price:not(.product-price-clone),.original-price:not(.product-price-clone)",reformatPrice)}();</script> <!-- end Reformat Product Price --> Is there any way to solve this with this code? Please help me website - https://www.veneramor.com/- 31 replies
-
- product
- product-page
-
(and 2 more)
Tagged with:
-
Perfect! Thank you so much! 🙂
-
Hi! I've used these two codes, but unfortunately none of them work for my site https://www.veneramor.com/shop/p/illuminated-wonders Could you please help me?
-
Perfect! Thank you so much!
-
thank you very much! How do I reduce the font "sold out" in the mobile version on shop page?
-
Hi guys, I just noticed that there is a completely different font here, could you tell me how to fix it all? 1. on the main page, the "sold" ribbon has a different font, how do I change it? 2. on the shop page, I need to change the font and the size of "sold out", in the mobile version the font is very large. Please help me!
-
The rest code is here:
-
Change font of drop-down menu in product listing
Venera replied to MarikaS's topic in Customize with code
Perfect! Thank you so much! -
Yes, I used this code, but unfortunately it only changes the font inside the menu. How do I change the font of the menu itself?
-
Change font of drop-down menu in product listing
Venera replied to MarikaS's topic in Customize with code
Hi tuanphan! Thanks for this code, I managed to change the text in the drop-down menu with this code, but I can't change the text and size of the menu itself, could you help me? https://www.veneramor.com/store/p/matte-vertical-posters -
Hi guys! Please help me change the font on the product page, there should be a different font in the drop-down menu "size" and "paper". And also whether it is possible to increase this font so that it is the size of the price. https://www.veneramor.com/store/p/matte-vertical-posters
-
Sorry, my bad. It works perfect! Thank you so much!
-
Unfortunately it didn't work, I used "red" or "#FF0000" and it didn't work, the font "originals on paper" remains black..
-
Hi guys, does anyone know how I can change the color of the text of one category, for example "originals on paper" on the store page? I couldn't find anything similar on the forum, please help https://www.veneramor.com/store
-
Perfect! Thank you so much!
-
Yeah, this is it
-
https://www.veneramor.com/
-
Hi guys! Does anyone know how to reduce the name and price of the product on the first page?
-
Thank you so much!
-
Hi guys! Do you know the code that can hide the installment information when the product is sold out? https://www.veneramor.com/store/p/blue
-
https://www.veneramor.com/store At the moment, the ‘130×180 cm’ category is completely empty
-
Thanks a lot it works perfectly!