Waiting on a fix
There is going to be yet another delay for the Shopify Tutorial from Scratch series, due to an ongoing bug with the list-collections.liquid template which I want to cover in Part 10.
What’s wrong?
The issue right now is that the template that is used for the collections listing page, aka. list-collections.liquid, does not load properly. When you go to your-shop.myshopify.com/collections, it’s supposed to load the contents of list-collections.liquid; but currently it does not.
The only way to have content appear on /collections is by creating a snippet, and then checking for the template handle in theme.liquid as follows:
{% if template == 'list-collections' %}
{% include 'collection-listing' %}
{% else %}
{{ content_for_layout }}
{% endif %}
This works but we shouldn’t have to do this. I want to make sure my tutorial doesn’t include any unnecessary workarounds.
The awesome devs at Shopify are aware of the issue and are working on a fix. I really want to publish Part 10: list-collections.liquid tutorial before I move on to customer accounts because it just makes sense from an order point of view.
Apologies again for the postponing :(
tetchi
2 Comments
I hope this is resolved soon. I just started lesson one :)
@Bernardo I’m told the fix is really close to being deployed. Thanks for your patience!