While setting up product options, the following option types are available:
Different option types have their own settings and properties.
If you add an option of Text or Text area type, you will be able to specify:
RegExp—a regular expression used to validate the value entered by a customer. 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 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. This may occur when a certain regular expression is set for the option. For example, if we use a regular expression from above:
Note
Please enter 3 letters and 2 or 3 digits (for example, abc123)
This functionality can be used to validate telephone numbers, postal codes, dates, etc.
If the option type is File, customers 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 will see the Variants tab, where you can edit the properties of variants.
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.