Product page builder
A product page template defines the layout of the product detail page: the rows, the columns inside them and the blocks that show the product’s gallery, buy box, name, details and everything around them. One template serves many products; which product gets which template is set by its assignment. → Which template a product gets
The builder opens from Content → Nova → Product page → List of templates: Edit in the row of a template, or a click on its name. It works as the other builders of Nova: a draft is edited, saved and then published, and only the published version reaches the shop. → Documents: builder, list, assignment, import
Without a template
Section titled “Without a template”A product without a published Nova template keeps the product page of Shopware with its own Shopping Experiences layout. A sales channel that does not use the Nova theme always shows the Shopware product page, also for products a template is assigned to.
When a sales channel gets the Nova theme, and when the plugin is activated or updated while a sales channel uses the Nova theme, Nova checks whether a published default product page template exists. If none exists, it creates one from the Classic layout, publishes it and makes it the default, so that the product pages of the shop are rendered by Nova from the start.
Creating a template
Section titled “Creating a template”The builder without any template shows No product page template yet with a button that opens the dialog New product page template. The same dialog opens from New template in Content → Nova → Product page → List of templates. The dialog offers five layouts under Start from a layout:
| Layout | What it contains |
|---|---|
| Classic | Thumbnails on the left, the buy box beside them, tabs and cross-selling below |
| Fashion | Images in a grid of 2 columns, a sticky buy box, an accordion |
| Technology | Gallery and buy box, a properties table, ‘Bought together’ |
| Full width | An image carousel across the full width, the buy box below it |
| Basic | Only the gallery and the buy box — you add the rest yourself |
In every layout the columns of the gallery and the buy box stay in view on computers: the shorter one remains on screen while the longer one scrolls by. Full width keeps the content width Container: its gallery (Thumbnails below) fills a row of its own, and the buy box is placed on the right in the row after it.
Create draft saves the new template as a draft. It reaches the shop once it is published and assigned. The shop’s first template becomes the default of every product; every later template is shown on no product until its assignment specifies the products.
The left column
Section titled “The left column”The upper part, Template structure, holds the template picker, the menu with the actions of the document and a line that states which products get the template and in which sales channels, for example Default · every other product · every sales channel or 3 conditions · 1 excluded with the names of the sales channels after it. A template shown on no product has only On no product yet. Under it the structure lists the entry Page (Buy bar, width, structured data) and the rows with their columns and blocks.
The lower part shows the settings of the selection: Page settings when nothing is selected, or the selected row, column or block with a link one level up (a block back to its column, a column back to its row, a row back to the template). Rows have the tabs Layout, Look and Visibility, columns the same three, blocks Content, Look, Visibility and Column. The row, column and block settings are those of the shared grid of all builders.
Fixed blocks of a template
Section titled “Fixed blocks of a template”Three block types may appear in a template only once: Buy box, Gallery and Product name. The Buy box is also required. Its Delete and Duplicate actions are locked with the note The buy box is required and stands once: without it the product cannot be bought.; the gallery carries The gallery stands in the template once.
Page settings
Section titled “Page settings”Page settings has two tabs.
General:
- Sticky buy bar: once Add to shopping cart scrolls out of view, a bar with the product’s picture, name, variant, price and the button stays at an edge of the window; on phones it shows only the variant, the price and the button. The button sends the form of the buy box, so the quantity chosen there and what plugins add to that form are sent with it. The bar appears only where the template’s buy box shows its form, and only for a product that is available (not a clearance sale product with stock below its minimum purchase) and has a purchasable quantity above zero. The page usually shows a variant; a product with variants, none of which can be shown in the sales channel, opens as its main product, which, as in Shopware, has no Add to shopping cart and no bar.
- Computers and tablets: the edge of the bar, Bottom or Top.
- Phones: Bottom or None. On phones the bar is placed above the cookie bar and below Back to top.
- Structured data: a fixed value, Microdata, JSON-LD. Product and offer are written as the Shopware parts write them; the breadcrumb is written as JSON-LD where no Breadcrumb block reaches the page, after its rule and schedule.
While the buy bar settings are being edited, the preview shows the bar.
Look:
- Width of the content: Container (the width of the shop’s container) or Full width (the whole window).
- Space between rows: empty takes the space of the theme.
- The style field In the template: the styles of the template’s elements, above the values of the skin.
The preview
Section titled “The preview”The preview renders the template for a real product of the sales channel the editor previews, with the data its product page calculates. The bar over the preview shows the product (Product: with its name); its button opens Other product… with a product picker. Beside it are shortcuts to typical cases of the catalogue, shown only where the channel has such a product: With variants, On sale, Sold out, With reviews, Without reviews, With its own layout, Without an image, Long name. Until a product is picked, the preview takes the first of these cases the channel has a product for.
The chip Scrolled shows the page as it looks once Add to shopping cart has scrolled away: with the buy bar.
Where the channel has no product, the preview shows The sales channel of the preview has no product to draw the page for: choose one with ‘Other product…’. Where the product cannot be read, the blocks show examples.
On a computer and a tablet the rows are edited directly on the preview. On a phone the columns are displayed one under another in their phone order, as the shop stacks them. → Preview
To check
Section titled “To check”Under the preview the list To check before publishing lists the possible errors of the draft. Show opens the row, column, block or page settings where the item is fixed. The list also holds notes on what active plugins add to the product page; for most of them Show opens Content → Nova → System → Plugin compatibility. Nothing in this list blocks publishing. Beside the checks shared by all builders (missing translations, overfull rows and similar), the product page template adds:
| Message | Level |
|---|---|
| The template shows on no product: set in ‘Assignment’ which products get it | warning |
| No name block: the product page has no main heading (h1) | warning |
| The buy box has no form: nobody can put the product in the cart from this page | error |
| Image without alternative text | warning |
| The page does not come over the gallery on phones: its column shows other blocks there too. Give them a column of their own or hide them on phones | warning |
| The page does not come over the gallery on phones: nothing follows the gallery there | warning |
| The gallery’s column has a background: on phones it shows around the gallery while the page comes over it | warning |
The last three concern the Gallery setting While scrolling with the value Gallery stays, page slides over it: on phones the gallery stays under the header and the content after it slides over it. This works only where the gallery is the only block its column shows on phones and something follows it. → Blocks of the product page