Templates
A template is the ordered list of steps of a configurator. This chapter explains the template list and every field of the template form.
The template list
The Templates section of the main screen lists your templates.
| Column or button | What it does |
|---|---|
| Name | The template name in your administration language. |
| Status | Enabled or Disabled. |
| Sort order | The order of the templates in this list and in the Template field of the products. |
| Open tree | Opens the visual tree of the template. See The visual tree. |
| Edit | Opens the template form. |
| Delete | Deletes the template after a confirmation. |
| Add template | Opens an empty template form. |
The template form
| Field | What it does |
|---|---|
| Template name | One name per store language, between 1 and 255 characters. Required. |
| Template steps (ordered options) | The steps, in the order the customer answers them. See below. |
| Total combinations | The number of values of each step multiplied together. It updates while you edit the steps. |
| Sort order | Position of the template in the lists. |
| Extension status | The status of this template. Disabled removes it from the Template field of the products, and products that already use it show their normal OpenCart options instead of the configurator. |
Press Save at the top to store the template, or Cancel to go back without saving.
Steps
Each row of Template steps (ordered options) is one step, numbered Step 1, Step 2 and so on. Press Add step to add a row at the end and the red delete button to remove a row. To change the order, change the option chosen in each row.
| Field of the row | What it does |
|---|---|
| Type | Option for a single OpenCart option, or Option collection for a collection. A collection becomes one step for each option it contains. See Option collections. |
| Option or collection | The option (listed as Option - Name) or the collection (listed as Option Collection - Name) of the step. |
| Frontend type | How the step is shown in the store. Only for Option steps. See the next table. |
| Helper | Select a helper or one of the helpers written for this option. The helper's text is shown on the step behind a question-mark button. For a collection step, the helper of any of its options can be chosen and it is shown on the step of that option. See Helpers and value labels. |
| Image source | Shown when the step is displayed as images. Use native option value image shows the image of the value from Catalog → Options. Use first tree image (fallback: native image) shows the first image of the branch in the tree, and the value's own image when the branch has none. |
| Thumb width × Thumb height | Size in pixels of the card images of the step. Shown when the frontend type is Image. It starts with the image size stored for the option, or 100 × 100. |
Frontend types
| Frontend type | What the customer sees |
|---|---|
| Native type | The step uses the type of the OpenCart option. |
| Select | A drop-down list. |
| Radio | A list of radio buttons. |
| Checkbox | A list of tick boxes. Only one value can be chosen per step. |
| Image | Cards with the image and name of each value. With Image zoom in the tree, a magnifier shows the full-size image. |
Text, text area, file, date, time and date and time are listed but cannot be chosen: a step always needs values to choose from.
Changing a template that is in use
- Steps are shared by every product that uses the template. Adding, removing or reordering steps changes the configurator of all those products at once.
- New option values added in Catalog → Options to an option used as a step appear in the trees and on the products, enabled. Disable them in the trees where they must not be offered.
- The template's tree is only the starting point for products assigned afterwards. Products that already use the template keep their own tree.
Still need help?
Open a support ticket from your account and our team will look at your store with you.