Templates

What are templates in Finqu themes?


Templates sit at the very core of Finqu themes. There is a matching file for each page type of your online store.

Templates

Below is listed all the templates that are in use Finqu themes.

Path Description Supports variants
404.liquid Error page when a page is not found  
article.liquid Template for articles x
blog.liquid Template for blog page that contains articles  
cart.liquid Template for cart  
category.liquid Template for category page x
frontpage.liquid Frontpage template  
manufacturer.liquid Template for manufacturer products x
page.liquid Template for pages x
password.liquid If store is password protected this template is rendered  
product.liquid Product card template x
search.liquid Search results template  
customers/account.liquid Customer account summary page  
customers/activate_account.liquid Page to be displayed when the customer account hasn’t been activated yet (wholesale stores)  
customers/change_password.liquid A page where customers can change their account password  
customers/edit_account.liquid Page for customers to edit their details  
customers/login.liquid Login page  
customers/order.liquid Page for order  
customers/orders.liquid Page for customer orders  
customers/recover_password.liquid A page where user can order a guide to reset their password  
customers/register.liquid Registration page  
customers/reset_password.liquid A page where user can reset their password  
customers/wishlist.liquid Wishlist page  

Variants

You can create variants for templates that support them. For example to create a variant for product page we would simply create a file called product.campaign.liquid, where the product tells the template type and campaign gives our variant a name. This variant can be then activated for a product from the product management.

Schema

This defines the schema for the template. Schema can give a name for the template and define template sections. These sections can be moved and edited in the page but they cannot be removed. This comes in very handy when creating template for product page for example. Schema cannot contain any Liquid markup.

{
    "name": {
        "en": "My custom template"
    },
    "template_sections": [
        {
            "name": "section-name-to-be-included"
        }
    ]
}