Liquid, JavaScript, themes, sales channels
New to Shopify and going through a 2019 Tutorial where it all starts by playing around in index.liquid - which I see in the instructor's Templates folder but not mine.
So, I figure, ok, what happens if I try to add it? But that created index.alternate.liquid - which implies that there actually is an index.liquid somewhere that I can't see?
Did something change since 2019? What am I missing here?
Solved! Go to the solution
This is an accepted solution.
Ok, so I guess this is theme specific. I was assuming it was fundamental to all themes. I downloaded the instructors starter theme and I see the index.liquid file like he has.
I'm still missing something about how this is structured but I will probably pick it up as I go.
Maybe you mean theme.liquid or index.json file.
Thanks for responding.
Here is the tutorial I'm talking about....
https://www.youtube.com/watch?v=zBtwd2OfZsI
If you just jump to around 8:05 you can see that he is using index.liquid to create output that shows up in the theme.liquid "content_for_layout" area. I have to think something has changed since this with how this is wired up. What goes into "content_for_layout" by default?
This is an accepted solution.
Ok, so I guess this is theme specific. I was assuming it was fundamental to all themes. I downloaded the instructors starter theme and I see the index.liquid file like he has.
I'm still missing something about how this is structured but I will probably pick it up as I go.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024