Re: Why is my text duplicating in all my collections

Why is my text duplicating in all my collections

RubenFusion
Tourist
6 0 1

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

 

 

Replies 6 (6)

Dan-From-Ryviu
Shopify Partner
9155 1832 1865

Hi @RubenFusion,

You can will need to create template for each collection and then add subheading for each template Screen Shot 2022-09-22 at 09.55.45.png

- 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.

RubenFusion
Tourist
6 0 1

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!

RubenFusion
Tourist
6 0 1

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. 

Cedcommerce
Shopify Partner
718 76 113

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.

 

  • Open theme page from Shopify admin panel.
  • Duplicate your main theme, so that in case there is any issue with the changes then you have a backup of your current theme. 
  • After you have duplicated the main theme, open the theme code editor by choosing Actions > Edit Code from the Action dropdown of that theme. 
  • Search for ‘slideshow’ from the search box on the left-hand side as shown in the image. 
  • Open the slideshow.liquid file.
  • Once the file is opened, single click on the code once, and then using CTRL+F search for the string:

 {%- if block.settings.subheading != blank -%}

 

 

  • Once you have found the code, select the code highlighted in the below image.

Cedcommerce_0-1663930188549.png

 

 

 

 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 %}

 

 

  • Click on save.
  • Once the file is saved. Your work is done. 

 

Hope it helps, let us know if you need any help. 

 

All the best,
CedCommerce

 

CedCommerce || Shopify Expert
- Let us know if our reply is helpful for you. Like it.
- Was your question answered? Mark it as an accepted solution.
- For further discussion contact: Email ID- apps@cedcommerce.com
- Whatsapp:- Join Here
RubenFusion
Tourist
6 0 1

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.

thatkidleo711
Tourist
20 0 0

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!