Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How can I edit the Dawn Theme code to add a collection as content?

How can I edit the Dawn Theme code to add a collection as content?

greenfrog3
New Member
4 0 0

The Dawn Theme collapsible content row will only allow a page to be the selected content. I would like to choose from and add one of my collections as content, not a page. Can anyone assist with the code I need to edit to make this happen? 

Replies 7 (7)

Tejas_Nadpara
Shopify Partner
1120 222 553

@greenfrog3  Please share your store URL and send a screenshot so, I can check and assist you better.

Shopify Expert | Skype: tejas.nadpara
- Like and Mark as an Accepted Solution if reply helpful
- Feel free to contact me on tejas.nadpara@gmail.com regarding any help
greenfrog3
New Member
4 0 0

5B7B3CDD-797F-4FEF-84FE-41DCBF9155F5.jpeg
I haven’t got the collapsible tab feature active on my website yet as it doesn’t allow the content to be a collection, only page, as pictured. Any assistance is much appreciated. Thank you

Tejas_Nadpara
Shopify Partner
1120 222 553

@greenfrog3  Do you like to show only Collection content? or collection products? and this solution requires some customization in 2-3 files so difficult share it here. I suggest to hire any developer or contact me by mail for more help.

Shopify Expert | Skype: tejas.nadpara
- Like and Mark as an Accepted Solution if reply helpful
- Feel free to contact me on tejas.nadpara@gmail.com regarding any help

LitExtension
Shopify Partner
4877 1003 1169

Hi @greenfrog3,

Please go to sections > collapsible-content.liquid file, add code at line 70 and 498.

Screenshot.pngScreenshot.png

Code:

{{ block.settings.collection.description }}
,
{
          "type": "collection",
          "id": "collection",
          "label": "Row content from collection"
}

Then you just need to select the collection, it will display the description of the collection in the content.

Hope it is clear to you.

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify
RiverRise
Tourist
5 0 1

collepse.png

Hello @LitExtension,

 

Although I did what you said, it still gets content from the page. But I don't want it to get from a page because the information on each product may be different. 

 

I would be delighted if you could help.

LitExtension
Shopify Partner
4877 1003 1169

Hi @RiverRise,

You can create a question on the community and send me the link. I will check it.
Because this will help build a better community.
Thank you.

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify