Overview

Templates are the backbone of a theme, dictating the content displayed on various page types within the theme.


Template Functionality

For every distinct page type in your online store, there’s a corresponding template that dictates its functionality. For instance, at a minimum, a product page requires a ‘product’ type template to be rendered correctly.

Customizing Templates

It’s possible to craft multiple iterations of a template for the same category to suit different scenarios. For example, you might design a unique product template specifically for outerwear, or a distinct page template tailored for content featuring videos.

shopletzy-wireframe-template

Template File Types

When it comes to theme templates, JSON is the go-to file type.

JSON templates, identifiable by their .json extension, streamline the process of filling your template with content from various sections. Using a code editor like Visual Studio Code, developers have the capability to create or edit themes. The sections within the templates can be added, removed, or rearranged by developers, allowing for extensive customization of the theme’s layout and the overall user experience.