Storefronts
Page templates
Product, category and text pages as templates: locked sections, Preview with, the Details image, Properties with the bars and the reading width.
A template is one design that the storefront fills with many different things: each product, each category or each page you write in the admin. You change the template once and every page follows.
Where: The Pages tab in the designer, the Templates group.
Three templates
| Template | Draws | What makes the pages differ |
|---|---|---|
| Product page | Every product page, /products/… | The product's pictures, texts, properties and add-ons, under Admin › Products |
| Collection pages | Every category page, All products at /products and the search results | The category's name, text and products, under Admin › Products › Categories |
| Text pages | Every page under Admin › Pages, for example About and the terms | The page's title and text |
Click a template to open it on the canvas, like Home. The TEMPLATE badge shows that the row is a template. A template's sections are the same on every page it draws.
The groups in the Pages tab are described under Sections and pages.
Locked sections
Some sections belong to the template and cannot be removed. They have a lock and the ALWAYS ON badge instead of ON/OFF.
| Section | Template | What the lock means |
|---|---|---|
| Product | Product page | The gallery and the buy panel. Always first, and nothing can move above it. Price, VAT line, lowest price of 30 days and the buy button are always there |
| Product safety | Product page | The manufacturer and the responsible person in the EU. Can move but cannot be switched off. Shows when the supplier has the details |
| Page text | Text pages | The page's title and text. Always first |
The ⋯ Actions menu and the toolbar on the canvas show only what is possible. If a locked section is missing from a saved template, the storefront puts it back. A locked section shows on every screen, so it has no Show on.
The product page
Pages › Product page starts with these sections, in this order:
| Section | Settings in the inspector |
|---|---|
| Product | None. A click opens Components › Product page, where the look is set |
| Properties | Place (In the buy panel, Own section). As its own section also Heading |
| Details | Heading and Image beside the text (None, Last image) |
| Product safety | None |
| Reviews | None |
| Linked categories | Columns per screen size under Layout. The categories and their headings are set on each category, see Linked categories |
| You may also like | Heading, Products (4 or 8) and Columns per screen size under Layout |
| Recently viewed | None. Off at the start |
An empty Heading shows the platform's text in the visitor's language, for example "Details". Properties, Details, Reviews, Linked categories and You may also like can be switched off, moved and removed. A removed section is in the library under This page and can be added back. Without Reviews, the rating under the product name is not a link.
These sections also have Width and Show on under Layout. You may also like and each row of Linked categories have 4 columns on a computer, 3 on a tablet and 2 on a mobile until you choose others. Under the name of a template's section the inspector says where it can be: Only on product pages or Only on text pages.
Sections of your own from the library, for example Image + text or FAQ, can go anywhere below Product. Specifications is also under This page. With it on the page, the property rows stand in a section of their own with its own Heading, and Details shows only the text.
The text in Details
Details shows the product's description. The first paragraph is not repeated there when it already stands by the price: when it is the Short description, or when there is no short description and the first paragraph fits by the price in full. A first paragraph that is cut short by the price stays in Details. With your own HTML for the buy panel the whole description stays in Details.
The image beside Details
Image beside the text is None at the start. With Last image, the product's last picture shows beside the text. The picture shows on a computer only, from 1025 px. It does not change when the customer picks another variant.
Properties and bars
The Properties section decides where the bars go. Which properties become bars, and their scale, is set per property under Products › Attributes.
| Place | What shows |
|---|---|
| In the buy panel | The bars under the text by the price, for example Speed and Control. The other properties are rows in Details. This is the default |
| Own section | The section's Heading, or the platform's text when it is empty, then the bars and the property rows, where you put the section |
Show bars under Components › Product page turns the bars on and off. With it off, the Bar properties are rows like the others. With the Properties section switched off or removed there are no bars either, and every property is a row in Details. The rows are in one place: in Specifications when it is on the page, otherwise in Properties as its own section, otherwise in Details. With the bars on, the same properties are not also rows. With your own HTML for the buy panel the platform draws no bars there, so the rows stay in the table. Properties as its own section is drawn by the platform, with your own HTML too. In the buy panel, the Show on of Properties applies to the bars, and Properties has no Heading, Width or Background: it draws no section of its own there.
Text pages
Pages › Text pages has the Page text section with two settings:
| Setting | Choices |
|---|---|
| Reading width | Page, XS 640, S 768, M 1024, L 1280, XL 1440, 2XL 1536 px or Full. The text sits in the page column, so Page, Full and a step wider than the page fill the column. Custom takes a value of your own in px or rem. S is the default. It is the page text's only width: the section has no other Width |
| Text size | Normal or Large |
Sections of your own can go below the text. You write the text under Admin › Pages, see Pages and legal texts.
Collection pages
Pages › Collection pages draws the category pages, All products and the search results. The canvas shows the page as the storefront does: the name and the breadcrumb, the category's description, the filters, the bar with the number of products and the sorting, the products and the template's sections. On phones and tablets, up to 1024 px, the filters are the slim bar that opens a panel. Switch the canvas to Tablet or Mobile to see it.
The filters and the sorting work on the canvas, so you can tick, fold and open the panel to try them. Nothing you tick is saved. A click on a section selects it, as on other pages.
The look of the filters and the sorting is set under Components › Collection page. Which filters a category shows is set on the category.
Preview with
The Preview with list above the canvas picks what fills the template while you work.
- Product page: first the most complete products, with the most pictures, properties and variants. Then one product from each category, and last all products. Bars and rows come from the product. You may also like shows other products of the storefront, not the product's own. Linked categories shows a sample row: the storefront's first category over its first products. A line above it on the canvas says it is a sample. Products sold only as an add-on come last, in their own group Sold only as an add-on.
- Search products… beside the list finds a product by its name.
- Text pages: the storefront's pages, the longest first.
- Collection pages: a category, All products or Search results. It starts on the category with the most filters, or on All products when the storefront has no categories. The list shows how many filters each category has. A category brings its own products, in their order in the category as on the storefront, its filters and its description. For Search results you type the words, and the canvas matches them on the product names.
- The choice is not saved with the template. It lasts in the tab until you close it.
The Product page and Gallery components show the same product, with the sections in the order you saved. The Collection page component shows the same choice as the Collection pages.
Header and footer
The cog on a template in the Pages tab opens Header and Footer for every page the template draws. The change applies in the storefront at once, not at the next publish. Each product, category and page has its own address, title and search text.
One choice, one place
| Choice | Where |
|---|---|
| Order, on and off, sections of your own | Pages, the template, the Sections tab |
| The image beside Details, headings, number of products | The same section, the inspector |
| Where the bars go, as a section of their own with a heading | The Properties section, the inspector |
| The look of the gallery and the buy panel, bars on and off, payment icons | Components › Product page and Gallery |
| How a property is shown | Products › Attributes |
| Short description, description and pictures | Products, the product |
| SEO for a product | Products, the product |
| Your own HTML for the buy panel | Advanced, then Components › Product page › Customize with code |