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
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024