Liquid, JavaScript, themes, sales channels
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?
@greenfrog3 Please share your store URL and send a screenshot so, I can check and assist you better.
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
@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.
Hi @greenfrog3,
Please go to sections > collapsible-content.liquid file, add code at line 70 and 498.
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.
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.
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.
User | RANK |
---|---|
37 | |
28 | |
13 | |
12 | |
9 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023