Adds a select (dropdown) form field.
Some suboptions must be added to make this option usable. This is how suboptions look like:
- Make default - a certain suboption will be pre selected on the product page when this setting is chosen;
- Exclude? - hides/excludes a certain suboption in this Option instance only
- Title - a visible nice name of the suboption;
- Value - the value for the form field (input type radio in this case); it is like a slug for options; it should be unique across suboptions of the option;
- Price/Rate - (optional) this is a numeric representation of the suboption that can be used in price/weight calculation formulas and/or non option variable formula;
Price/rate setting can hold the value which can be used in price calculation formulas. Adding any value to this setting ⚠️ does not automatically mean that this value will be used in price calculation. This value will be assigned to Option's variable and used in price calculation only if the variable itself is used in price calculation formula.
For instance, you have an option with a slug
and suboptions like 'Matt' and 'Gloss' and you would like to add '0' to the price when 'Matt' is chosen or add '10' when 'Gloss' is chosen. Then set 0 and 100 as price/rate settings of the suboptions and then modify your price calculation formula to smth like this:
💡 This is how it works: you must use a certain option's variable in your price calculation formula if you want this option to modify the product price!
Making a certain suboption the default one means that this suboption will be chosen automatically on product page/form load.
Making certain suboptions excluded means that they will not be shown in the Option for this specific instance of the Option. For instance, you have "Buggi or Vuggi?" custom option in two products. It means that you re use the same option for two products and you have two instances of this option. Then you want to exclude (temporarily or permanently) one or more suboptions for the first product. So you do not have to remove these suboptions! Just mark them "excluded" and save (no need to save to DB in this case) the option settings and that's it - excluded suboptions will not be shown for the current option's instance in the current product.
🏆 PRO FUNCTIONALITY: Starting from version 4.2, Select option has got Suboption Conditional Logic. Its interface looks like this:
This feature adds a possibility to conditionally display/hide option's suboptions based on the choice in other options. You can find a nice animated screenshot of this feature in this our blog post.