All things Shopify and commerce
I'm trying to display a shortened version of my product descriptions (just the first 100 characters) on my product listing pages. This will help create cleaner, more concise previews of the descriptions. How can I achieve this using Shopify Liquid?
Solved! Go to the solution
This is an accepted solution.
Hello! @fenis Please follow these steps to add this code:
1. Go to Online Store > Themes > Edit Code.
2. Open the product template (product.liquid or product-template.liquid).
3. Replace {{ product.description }} with {{ product.description | truncate: 100 }}.
4. Save and preview the changes.
{{ product.description | truncate: 100 }}
If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the Accepted Solution.
Best regards
K.K
This is an accepted solution.
Hello! @fenis Please follow these steps to add this code:
1. Go to Online Store > Themes > Edit Code.
2. Open the product template (product.liquid or product-template.liquid).
3. Replace {{ product.description }} with {{ product.description | truncate: 100 }}.
4. Save and preview the changes.
{{ product.description | truncate: 100 }}
If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the Accepted Solution.
Best regards
K.K
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025