Commerce 2.1 and below: Using Product Options
Creating an Option Template
-
Navigate to Control Panel → Commerce → Products.
-
Go to the Options tab. This displays a list of existing templates on the left and the Option Template Detail form on the right.
-
Click Add ().
-
Click Save.
You can now apply this option template to products.
-
(Optional) Enable the Use in Faceted Navigation toggle to use the option as a search filter for products.
-
(Optional) Enable the SKU Contributor toggle to use the option’s values to create SKUs. Customers must select from the available option values.
You cannot use boolean as a SKU contributor. Attempting to do so shows the following warning message: SKU Contributor cannot be set as true for the selected Field Type.
Adding Option Values
Depending on the field type, you may need to create values for the option.
-
Click Values next to the option.
-
Click Add () and enter details for the value.
-
Click Save.
You can repeat these steps to add more values. The priority field determines the display order of the values with the lowest values displayed first.
Applying an Option Template to a Product
Once you apply a template to a product, you can make any changes to the product’s option. These changes will not affect the option template or any other product.
-
Open the Global Menu (), and navigate to Commerce → Products.
-
Select a product and go to Options.
-
Enter a name in the Add Options field, and click Create New. If there’s an option template already created, click Select.
This applies the option template to the product. If choosing an existing option template, all values from the template are included. You can select the option to add, remove, or edit values without affecting the template values.