Custom Fields
Use additional information for your product. In this tutorial, you will create a product that uses custom fields.
Custom fields are pretty useful for complex products or highly customisable products. For example, if you want to allow your customers to change the color of their Ark dinosaurs, you can create a color custom field.
Types of custom fields
There are numerous different types of custom fields you can use for your store. These are the following ones you can use:
Checkbox
Selection list
Number
Text
The types of custom fields are self-explanatory. But each type, except Text, shares those properties:
You can add an additional price for a selected option
You can use the custom fields as custom markers in your product. Server commands or API calls
Adding custom fields in your product
Start by creating or editing a product in which you wish to add custom fields.

You will be prompted into a custom field modal. Press the Add button to create a new custom field.

You can choose different options, as mentioned previously, like the type, the extra price, the name and description of this extra field, but we'll now move on to the custom fields settings, which is an important tab if you want to use those extra fields in the commands of your product.

One of the most important fields here is the Marker name. Define this parameter in order to use the extra fields in your commands.
Using the custom fields
Now that we have created our custom fields, let's see how we can use them.

One of the most obvious usages of those custom fields is in the server commands. You can use the custom fields in your server commands with this marker: {custom:custom_field_name}
On your product page, your users will now see your custom fields.

Extra customisation
Lastly, you can add common rules to manage your custom fields. For example, you can add a minimum amount between different custom fields or a maximum amount.

Last updated