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 |
---|---|
25 | |
21 | |
7 | |
6 | |
5 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023