settings_schema for collection-list template appear inconsistently

Solved
jsweet59
New Member
2 0 0

Hello!

I'm a theme developer and have added settings for the collection-list template to my settings_schema.json so that they can be set centrally (so if the collection-list template is set as a Page template the merchant doesn't have to repeat all these settings again). All looks/works as expected in Editor > Theme Settings, however, when I access these same settings via Editor > Collection list > Theme Settings (or Editor > Some Page > Theme Settings) the settings are retrieved via the liquid template and displayed in the order they are referenced in this file and the Sidebar Settings (e.g. headers) and sections are not present. 

 

See demo here (I've added some typos to the input labels to show that these are in fact the same settings getting pulled through):

https://share.getcloudapp.com/E0u9P2br

 

Maybe I'm looking in the wrong place but am yet to find anything in the documentation that explains why or what control I might have over this. 

I can amend the liquid file to effect the order perhaps, but this seems an overly manual process when the data already exists in the settings_schema.json. Even if I did this it wouldn't solve the missing Sidebar Settings and so there'd still be inconsistencies between how these two sets of identical settings are displayed, which could be confusing to a merchant.

 

Any direction on this greatly appreciated! 

 

Thanks 

0 Likes
tim
Shopify Expert
2846 115 935

This is an accepted solution.

No, you have no direct control over this, say you can't tell "pull this group of settings for this section".

When in section properties, customizer displays only those settings from theme settings which are actually referenced in current section. So, for example, if your colors are only used in your stylesheet, they would not be shown. 

And yes, you can have indirect control by referencing these values in the order you want and they will be pulled to the sidebar of customizer.

Want to hire me to tweak a theme? Mail me at tairli@yahoo.com!
My post solved your problem? Like it!
0 Likes
jsweet59
New Member
2 0 0

Aha! Ok thanks very much. Is this documented somewhere I missed do you know??

0 Likes
tim
Shopify Expert
2846 115 935

Not sure, sorry.

Want to hire me to tweak a theme? Mail me at tairli@yahoo.com!
My post solved your problem? Like it!