A space to discuss online store customization, theme development, and Liquid templating.
Hey guys,
I hope you are doing well 🙂
I'm facing the crash issue between inch symbol of the Size option value and json format in the Product Page.
What is the solution to avoid this issue?
Thank you!
Solved! Go to the solution
This is an accepted solution.
What could help is to ensure that where the variant is being rendered, that the Liquid object has the escape filter applied to it. Can you try this to see if it fixes the issue?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi Ecomdevstar,
Is this causing the variant to not appear/ work correctly due to the " character causing a JSON formatting error?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Thank you for your reply Liam!
Yeah, the my custom JS code is not working due to this.
This is an accepted solution.
What could help is to ensure that where the variant is being rendered, that the Liquid object has the escape filter applied to it. Can you try this to see if it fixes the issue?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Great thank you Liam!
I've solved that issue!
Good luck with you!