Change title collection on Collection list

Solved

Change title collection on Collection list

kay2573
Shopify Partner
2 1 1

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

Screenshot 2025-06-10 at 16.32.36.png

Accepted Solution (1)

kay2573
Shopify Partner
2 1 1

This is an accepted 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

<h3
            class="card__heading{% if card_product.featured_media or settings.card_style == 'standard' %} h5{% endif %}"
            {% if card_product.featured_media or settings.card_style == 'card' %}
              id="title-{{ section_id }}-{{ card_product.id }}"
            {% endif %}
          >
            <a
              href="{{ card_product.url | within: collection_object }}"
              id="CardLink-{{ section_id }}-{{ card_product.id }}"
              class="full-unstyled-link"
              aria-labelledby="CardLink-{{ section_id }}-{{ card_product.id }} Badge-{{ section_id }}-{{ card_product.id }}"
              style="font-size: 18px; color: #70707B;"
            >
              {% comment %} {{ card_product.title | escape }} {% endcomment %}
              {{ card_product.type | escape }}
            </a>
          </h3>

 

View solution in original post

Replies 3 (3)

websensepro
Shopify Partner
2127 265 317

Hi @kay2573,

 

kindly provide your store URL please and if it is password protected, please share the password as well.Thanks

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP

devcoders
Shopify Partner
1607 189 490

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

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!

kay2573
Shopify Partner
2 1 1

This is an accepted 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

<h3
            class="card__heading{% if card_product.featured_media or settings.card_style == 'standard' %} h5{% endif %}"
            {% if card_product.featured_media or settings.card_style == 'card' %}
              id="title-{{ section_id }}-{{ card_product.id }}"
            {% endif %}
          >
            <a
              href="{{ card_product.url | within: collection_object }}"
              id="CardLink-{{ section_id }}-{{ card_product.id }}"
              class="full-unstyled-link"
              aria-labelledby="CardLink-{{ section_id }}-{{ card_product.id }} Badge-{{ section_id }}-{{ card_product.id }}"
              style="font-size: 18px; color: #70707B;"
            >
              {% comment %} {{ card_product.title | escape }} {% endcomment %}
              {{ card_product.type | escape }}
            </a>
          </h3>