Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
I am editing body copy for all products and have written out in body Rich text and HTML, however on live it is collapsing everything into one large paragraph.
BE Product Description (image below)
Solved! Go to the solution
This is an accepted solution.
I resolved the issue by searching strip_html within the Product-template.liquid file and deleting
Hello , @Tom_Baker3
Please make sure that any string filter is not applied in product description
To check this,
Go to your product template file (product.liquid in many case),
find product.description
It should be like this :- {{product.description}}
and if it is like this:- {{product.description | strip_html}} then remove the filter part .
Thank you IttantaTech,
I have found line (below) can you advise if I am to remove the escape as well.
"description": "{{ product.description | strip_html | escape }}",
Should it then read as
"description": "{{ product.description }}",
I have found this written repeated at the bottom of product.liquid I will replace both.
This is an accepted solution.
I resolved the issue by searching strip_html within the Product-template.liquid file and deleting
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024