punctuation mark appears as code in 'add to basket' text when an product option gets selected

Hello,

I seem to have an add issue in my shop.
Instead of ‘add to cart’, I translated and changed the button text into ‘Gooi maar in m’n mandje’.
I changed that in the product tab of the default theme content option in Dawn 9.0.
I shows correctly on all product pages and collections but when a product has options, like a color, the button changes into ‘gooi maar in m’n mandje’.

I’m not sure what is causing the change of the apostrophe into the & # 39 ; text-code in the product options.
Is there a way to fix that? It’s doing it in all products with options.

I’m using Dawn 9.0

Thanks so much in advance for your time and advice!

Best,
M

That’s the html-entity for an apostrophe, check that the apostrophe is a normal acsii apostrophe in the text your copy and pasted.

View the source of the page (ctrl+u) and find that string you want to see if it’s being rendered or if not then it’s just a javascript issue.

If it’s happening when a variant option is being selected but the character isn’t present in the html-source then the javascript is doing something to the button text it’s being given, or the section rendering api is returning html that’s escaping the apostrophe.

Beyond that store url, storefront password if any, and theme name.

Others do not know what you know , provide details others would need to be able see, inspect or reproduce an issue.

https://community.shopify.com/c/shopify-design/help-us-help-you/td-p/668159

Good luck.

Thanks for the reply.

I already knew it was the html shortcode for the apostrophe of course. But just don’t understand what’s causing this error.

Yes, I checked it before posting here, and it’s written correctly inside the ‘themes default content’ of Dawn 9.0.

I didn’t think a link was needed for my question, but here you go.

https://www.shopmiriambos.nl/products/high-quality-giclee-red-apples
When you select any option, the basket button changes and replaces the apostrophe.

Maybe I should try and contact Shopfiy support about it?

Thanks again,