In the Collection list, the products are displayed. How can I change the product name to the collection name of that product in Shopify Dawn theme? Please help me with the above case. Thanks
Topic summary
A user sought to modify the Shopify Dawn theme’s Collection list to display collection names instead of product names for each item.
Solution Found:
The issue was resolved by editing the card-product.liquid file. Specifically, changing {{ card_product.title | escape }} to {{ card_product.type | escape }} achieves the desired result.
Code Modification:
- Comment out the original product title line
- Replace with
card_product.typeto display the product’s collection/type instead
The original poster shared this solution with the community after discovering it independently, before other users could provide assistance. This modification allows collection names to appear in place of product names on collection list pages.
Hi @kay2573 ,
kindly provide your store URL please and if it is password protected, please share the password as well.Thanks
Hello @kay2573
Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution
I have found the solution, now I would like to share with the shopify dev community, just change in card-product.liquid the card_product.title part to card_product.type
###
{% comment %} {{ card_product.title | escape }} {% endcomment %}
{{ card_product.type | escape }}
