I’m trying to find a list of the liquid params/variables/structures available in themes. I find I have to reverse-engineer what I see in themes rather than a supplied list.
Reproduction steps
Tried searching the docs, I cannot find it - but it might be that I don’t yet know enough to know the right search terms to find such a list.
Additional info
I would imagine that many of you have either found, or created, such lists of variables to do what you do.
No worries - what do you mean by params? I’m pretty positive that the docs is more comprehensive than the cheat sheet, so I’m happy to point you to the docs version
+1 to what @curzey suggested, the Liquid dev docs would be a more accurate source of truth than the Liquid Cheat Sheet. Can you describe what you didn’t find in the dev docs that are in the cheat sheet?
Hi. Mostly, the actual variable names themselves. Some of the docs give examples, but not, for example, that menu links are available through linklists[menu_handle]. At least on my reading, unless I’m really missing something on HOW to read the docs for ALL avaialble parameters.
@curzey, @Liam-Shopify - for instance, the cheat sheet shows all the parameters available under “color filters” or blog, or brand, etc. The docs don’t seem to show these, as far as I can find (most seem to be of the formula: “color filters: this is where you filter color. Here’s ONE example: color_brightness” and there’s no hint of the other dozen or so filters, whereas the cheatsheet lists them.