How do I add descriptions to my products in the Featured section on the homepage

Topic summary

Goal: Show a short product description between image and price in the homepage “Featured/Newest” product grid (Dawn theme), but not on collection pages.

What was tried: In card-product.liquid, inserting {{ card_product.description }} after the product title (h3) successfully displayed descriptions.

Issue: The description also appeared on collection pages. The merchant splits the product description using a delimiter (+++) into two parts and only wants the first part (partial_desc[0]) on the homepage and product pages.

Fix implemented: Wrap the output in a template condition to exclude collections:

  • {% if template != ‘collection’ %} {{ card_product.description }} {% endif %}
    This restricts descriptions from showing on collection templates while allowing them on the homepage and product pages. Code adjustments were confirmed to work.

Implementation detail: The merchant uses split: ‘+++’ to create partial_desc[0] (short/teaser) and partial_desc[1] (long/technical) and places [0] in the grid and at the top of the product page.

Recommendation: Consider using custom data (Shopify metafields) to store short vs. long descriptions for cleaner, more maintainable management as the store scales.

Status: Resolved; potential future improvement via metafields.

Summarized with AI on December 29. AI used: gpt-5.

Thank you! But there is a caveat…

I’ve split my description into two sections by using a delimiter. So I have partial_desc[0] and partial_desc[1]. I only want to use partial_desc[0] in this location. And so I placed the code for that where you said to put your code, and it works perfectly. HOWEVER, it also places partial_desc[0] under my products on the collections pages. I only want descriptions on the homepage and on the product pages (already done) but not in the collections.

How can I achieve that?