Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
No matter how many times I rewrite new text for all my collections, or if I create a new collection….
the same description text appears. All my collections have their own descriptions but none of it is appearing…just the same text from a previous collection. Can anyone help me fix this? I’d be very grateful.
Here’s my Shopify website…
https://rmtalent.myshopify.com
Hi @RubenFusion,
You can will need to create template for each collection and then add subheading for each template
- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Thank you for your input, I will def try this tomorrow, I’m optimistic it should work.
I am a little confused, why it was working fine with different definitions up until a day ago? Anyway, I do appreciate your input and I’ll give it a try tomorrow like I said.
Will let you know how it goes.
Thanks!
Thank you for your suggestion. I have not had much success. I tried creating it the way u soar but I’m unable to attach the 2nd and 3rd “Collection”. Would it be possible to connect by phone? Would be extremely grateful. I don’t know coding so this would be a big help. Lmk: thanks again.
Hello @RubenFusion,
The section that the refresh theme is using is the ‘SLIDESHOW’ section and the text that you expect to show the description is the sub-heading for the slideshow.
So in order to modify it so that the collection description is displayed there, you need to follow the below steps.
{%- if block.settings.subheading != blank -%}
And replace it with the code added below.
{% if template != 'collection' %}
{%- if block.settings.subheading != blank -%}
<div class="banner__text" {{ block.shopify_attributes }}>
<span>{{ block.settings.subheading | escape }}</span>
</div>
{%- endif -%}
{% else %}
{% if collection.description != blank %}
<div class="banner__text" {{ block.shopify_attributes }}>
<span>{{ collection.description | escape }}</span>
</div>
{% endif %}
{% endif %}
Hope it helps, let us know if you need any help.
All the best,
CedCommerce
Hello, thank you, I truly appreciate your help, unfortunately I don’t know coding. This is the reason why I opened a Shopify account. I was under the impression it would be user-friendly.
Was having the same issue and this resolved it. Was trying to learn about metafields and add them somehow that way but this was much easier. Thank you!
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024