While setting up the product options, the following option types are available:
Different option types have their own settings and properties that are specific to them.
If you add an option of Text or Textarea type, you’ll be able to specify:
RegExp—a regular expression that will validate the value that a customer enters into the text field. For example, if RegExp is set to ^[a-zA-Z]{3}[0-9]{2,3}$, then the customer will have to enter 3 letters and 2 or 3 digits.
Hint
More information about regular expressions is available in other sources; you can also download a PDF file with examples
.
Inner hint—the text that will appear on the storefront in the text field; it may be used to show to customers what values can be entered in the text field.
Incorrect filling message—the message that will be displayed when an incorrect value is entered in the text field. This may occur when a certain regular expression is set for the option. For example, if we use a regular expression from above, here’s a possible message:
Note
Please enter 3 letters and 2 or 3 digits (for example, abc123)
This functionality can be used to check a telephone number, postal code, date, etc.
If the option type is File, it means that a customer can upload a file for this product. It is especially useful for customizable products like T-shirts, mugs or postcards, where customers can use their own graphic image.
For an option of the file type, you can specify the following additional parameters:
jpg,bmp,gif,pdf
. To allow customers to upload files of any format, leave this field empty.If the option type is Select box, Radio group, or Check box, it means that customers will be offered to choose from multiple existing variants. When you are creating or editing an option, you’ll see the Variants tab, where you can:
Note
An option with the Check box type only has one variant (ticked checkbox). That variant doesn’t have an image and a name.
Questions & Feedback
Have any questions that weren't answered here? Need help with solving a problem in your online store? Want to report a bug in our software? Find out how to contact us.