GertrudTav
Member-
Posts
9 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
GertrudTav's Achievements
Level 1 (1/20)
1
Reputation
-
JS coding to change text of Shopping cart
GertrudTav replied to GertrudTav's topic in Customize with code
Hello @tuanphan Apart from the word 'Select' in the dropdown menu, a few more translations to be done came up while coming closer to launching the shop. It's the popup that comes up when you click the button 'add to cart' but you haven't selected a variant yet and also all of the words on the checkout page... Thanks! -
JS coding to change text of Shopping cart
GertrudTav replied to GertrudTav's topic in Customize with code
Amazing @tuanphan! Thanks! There is 1 missing in the coding you gave me; the word 'Select' in the dropdown to choose a variant. Could you share the code to change that one as well? Thanks a million! -
JS coding to change text of Shopping cart
GertrudTav replied to GertrudTav's topic in Customize with code
Hey @tuanphan I was wondering whether you find a moment to help me with CSS codes for the other words I provided screenshots for above? Thank you so much! -
JS coding to change text of Shopping cart
GertrudTav replied to GertrudTav's topic in Customize with code
Hello @tuanphan I have attached screenshots and circled the words that need to be changed as those you gave css codes above for. Very grateful for you to help me further with coding! Thanks Gertrud -
JS coding to change text of Shopping cart
GertrudTav replied to GertrudTav's topic in Customize with code
Ah amazing! Works splendidly! I'll collect all the words I need to change and will post in here. Thanks so much already 🙂 -
JS coding to change text of Shopping cart
GertrudTav replied to GertrudTav's topic in Customize with code
Thanks for your suggestion! I am already using weglot with the base language Dutch (which is not supported by squarespace ang hence giving me these issues). And I already was thinking to swtich the base language to english if there is no other way around it but it would not be ideal because the company is Belgian with Dutch as main language... -
JS coding to change text of Shopping cart
GertrudTav replied to GertrudTav's topic in Customize with code
Hey Tuan, Thanks for getting back to me and giving me hope 😉 Attached is a screenshot where I already change the title of 'SHOPPING CART' tot 'WINKELMAND' and also 'Your shopping cart is empty' to 'Jouw winkelmand is leeg'. I did this with the following in CSS: body#cart h2.cart-title { visibility: hidden; } body#cart h2.cart-title:before { content: "WINKELMAND"; visibility: visible; } .empty-message:before { content: "Jouw winkelmand is leeg."; } .empty-message>span { display: none; } When I choose English language, it keeps on showing the dutch (Nederlands, NL). I'll list all the words I'd need to change but thought to start with this as an example already. Thanks so much! -
Site URL: https://www.primroselaboratories.com/ The default language of my site is Dutch. This is apparently not supported by squarespace so set words as 'read more' on blog page and 'shopping cart' 'continue shopping' 'quantity' etc are all set in English. I did find CSS on this forum to change word by word but the issue I have is that I work with Weglot to translate my site in 3 other languages. The words changed by CSS are then staying in Dutch and are no longer translated. At Weglot they said, I should use JS coding to adjust all the words and then Weglot can work as usual. Can anyone help me with this? Thanks