Skip to main content
The reference is the central guide for the template engine and the template language. All relevant language elements and building blocks needed for building and customizing the shop frontend based on templates are documented here — for example, tags/instructions, variables, functions, modifiers, and typical usage patterns. This reference is intended for projects that build the shop frontend with templates. If the frontend is built using the Storefront API instead (e.g., a headless approach), this page is not the right starting point — in that case, the pages for the Storefront API are relevant.

Table of contents

  • Actions
  • Instructions
  • Blocks
  • Components
  • Conditions
  • Data types
  • Functions — Global template functions are available in all templates. They are used to process, format, or check values (e.g., adjusting strings, rounding numbers, merging lists, or comparing date values).
  • Control structures
  • Loops
  • Modifiers — This page describes the basics and syntax of modifiers. Modifiers (also called filters) are used to modify, format, or check values in the template directly upon output or further processing — for example, adjusting text, rounding numbers, or transforming lists.
  • Operators
  • Modules — Modules are global modules provided by WEBSALE (e.g., $wsAccount). They provide variables (properties) and methods. In development they are also sometimes referred to as view modules, since they are primarily used for output (read side).
  • Variables