Shopify themes, liquid, logos, and UX
Hello everyone.
On my online shop I have made the setting to not show sub collections on collection/product overview pages. BUT I would like to have this setting activated on only some collection pages. Does anyone know how to make that possible?
Thanks,
M.
Hi.
Shopify has no sub-collections. Only collection/product.
Can you share the link to your page?
@Ottomen it´s joyinme.de
With sub collections I mean the hierarchy below. On a global basis I can make the categories one hierarchy below visible or invisible:
vs.
What I would like to do is make "sub collections" only visible on some pages (not set this option globally).
Thanks,
M.
You can create templates with the collection section and without the collection section, for example.
@Ottomen
It looks like not the whole section. The template refers to the section and within the section I found these parts:
{%- if section.settings.subcollection_style == 'above' -%}
and further down:
{
"type": "select",
"id": "subcollection_style",
"label": "Subcollection style",
"default": "above",
"options": [
{
"value": "above",
"label": "Above products"
},
{
"value": "below",
"label": "Below products"
},
{
"value": "none",
"label": "None"
}
]
},
Where in the code is it where I can change the values?
Right now on my shop gobally it is set "none" and I created a new template referring to a new section. Where in the new section (or template) can I set the value to have it displayed?
Thanks.
It is not the question of changing values somewhere, but it is the question of making 2 different templates with and without this section.
If I delete the whole section within the newly created template I am having a blank page without subcollections and without products.
So my guess is I need to make a setting within the section the template points to, needn´t I?
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024