How can I add a tag selection option in schema?

Highlighted
New Member
1 0 1

Hi,

I have a sidebar filter which will render a list of tags customers can filter by based on what's chosen in my collection page settings. However I can't actually find out how to choose tags?

To clarify, to get a checkbox visible in the collection settings I add this to the collection-template.liquid file:

{
"type": "checkbox",
"id": "sidebar_enable",
"label": "Enable Sidebar",
"default": true
},

How do I instead have a option to choose tags?

{
"type": "___some type____",
"id": "selectable_tags",
"label": "Filterable Tags",
"default": []
},

 

Highlighted
Tourist
7 0 1

Did you have any luck with this?

0 Likes