Let’s take a look at how you can create a new product template and add new attributes. To learn more about attributes (what they are, what they are for and how they work), read Product Attributes article.
The list of all the product templates available in the store is displayed in the Settings → Product Templates section. Out of the box, a new website has one product template.
Creating a new template
To create a new template, click Create and specify a template title. The title is used for template identification in the control panel.
The product comparison page is the only place where the template name will be visible to your customers.
Once the name is set, a window with template parameters will open.
Adding a new attribute
To add a new attribute, click Add option/attribute. A window with the new attribute properties will open for you to specify its title and type.
Attribute Title is the name displayed in the control panel and visible to the users.
There are five types of attributes. Depending on the selected type, you may also need to set the advanced parameters.
1. Select from List is the most common type. It is used if the attribute has several standard values. The user has to select one or several of them for each product.
2. Yes/No allows to select either option (yes/no). For example, “Wi-Fi: Yes”.
3. String is an arbitrary text value.
4. Text Field is the same as “Line” except it allows more characters.
5. Number a numeric value. You can define the number of decimal places in the advanced parameters.
Select from List
To use this type, first create a reference table to contain all the possible attributes.
This option enables choosing several values for each attribute from a selected attributes values list for each product.
Types of attributes for filters
Only two types of attributes are available for filters: Select from List and Number.
All the options which determine variants must be arranged into a dedicated group to be assigned the Variants type.
Editing an attribute
All the parameters that you create are editable. Please be advised that changes to the attribute type (as well as enabling the Multiple Choice option) also changes the attribute value type. As a result, the values of the attribute changed are reset to zero.
Here is how you can keep the attribute values intact while changing the attribute type:
Export product attributes to an .xls file;
Change the attribute type;
Import the values from the .xls file you created earlier.