Options covers the variations on a single item that a user can order - such as different sizes for the same shirt, or different colors for a mug or a bag. Merchandise with different options doesn't necessarily have a different SKU, but the options must be tracked and accounted for within Commerce Manager.
Options are defined on the Commerce datasheet, in the "Options" tab.
This example shows two sets of options, "Size" and "Color."
The first 5 data rows (excluding the header row) all belong to the "Size" options - you can tell that because they all have the same values in the "optionCode" and "title" columns. The next two rows are the "Color" options.
The "optionValue" field contains the unique name of each of the different choices within each set of options.
The "priceAdder" field determines the amount added to an order's subtotal whenever a user selects a particular option. (In this example, purchasing a XX-Large shirt would add an additional $5 to a user's order.)
To apply a given set of options to a specific item for sale:
- Go to the "Products" tab of the datasheet
- Find the item in question
- Scroll over to the blue "optionID" columns
- Add the "optionCode" value for the options you want to use to the first available blue column
- You may repeat this process for up to 15 sets of options
When an option is applied to an item, end users will see those options appear as a dropdown menu on the item page when browsing the website. Whatever is in the "title" field for those rows on the Options tab of the datasheet will define the name of the dropdown menu. The values in the "optionValue" column will become the individual entries within that menu.