Skip to main content

Custom product fields

How to use custom fields in your products.

What are custom fields?

With custom fields, you can add information to a product that cannot be added in any other way. You can use the information for your own needs or for your customers through the online store filters. Custom fields can also be added to the product page using the source code.

Remember product classification as well

Before adding custom fields, check whether you could add the information you want using product classification (see the guide Utilizing product class and attributes). With classification, you can select a class for the product, such as "Refrigerators", and then select related attributes, such as "Energy efficiency class". Most product information can be added with classification without needing custom fields at all.

Adding custom fields to a product

You can add custom fields at the very bottom of the product page. There you will find the Custom fields section, where you can click the blue Add link. Next, you will be asked for:

  1. Description, i.e. the field description shown to your customers. For example, "Condition".

  2. Identifier, which is used only in the admin and in the store's code.

  3. Type. There are three types:

    1. Text. Plain text only, i.e. a single word or sentence.

    2. Number. A whole number. Customers can filter products based on number values (min - max).

    3. Rich text. Text that can be formatted. Suitable for longer texts, for example to describe the materials the product is made of.

Once you have added a custom field, it appears on the product page. You can then enter content in the field and save the product from the top right.

Removing fields

Custom fields do not have a separate delete function. Instead, they are removed automatically when no product has any content in the field. In practice, you can remove a field by clearing its content from all the products it has been added to.

Custom fields and filters

You can use custom fields in your online store's filters. You can find instructions for using filters here: Activating Filters in Online Store

When adding filters, you can select a custom field you have added as one of the filters. Customers can then filter the products in a product group based on that information.

Filters in the admin

You can also filter products yourself in the online store admin based on custom field data by first going to Products and then Filters > Custom field. The custom field then appears under the filters menu, where you can select the information you want and then click the Search button on the right.

Displaying custom field data on the online store's product page

Custom field data can also be displayed on the online store's product page. However, this requires some programming skills or a developer, as it can only be done by editing the source code.

You can edit the online store's source code through the theme by going to Online Store > Edit and then, in the top left, Theme > Source Code.

On the Finqu Developers site, you can find more detailed information on editing the code.

Did this answer your question?