
Changes will be pushed to your theme when you save. If you’re using Slate, you can create a alternative template straight from your local text-editor when you run the slate watch command.
Name bag templates for pages how to#
You might also like: How to Craft the Best 404 Pages for your Clients. I will also demonstrate how you can set up conditional Liquid logic to avoid using alternative templates and keep your themes nice and lean. This Shopify tutorial will run you through the basics of creating your first alternate template, so you can start customizing your clients’ themes even further. Since most of a page’s content can be contained within a section file, we’ll need to create alternate sections and templates. With the introduction of sections to Shopify themes, creating alternative templates has become slightly more involved. Luckily this isn’t the case and there are, in fact, a number of ways you can apply different, or ‘alternate’, templates to these various page types. If you’re new to Shopify theme development, your first impression might be that every collection, page, blog post, and product page is controlled by a single template. To learn more about how to build with Online Store 2.0, visit our updated documentation. While the information in the following article is still correct, it doesn't account for Online Store 2.0 best practices, and may not include references to recent features or functionality.

Online Store 2.0 is an end-to-end overhaul of how themes are built at Shopify, launched June 2021.
