-
Type:
Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: 2.1.2
-
Component/s: Digital Merchandise Management → Options
-
Labels:
-
Epic Link:
-
Story Points:5
-
Git Pull Request:
Currently, when creating an option template, a user
- Chooses an Option Field Type
- Chooses whether the option is a SKU Contributor
As a result of COMMERCE-2895, though, the Option Field Types available will be dependent on whether or not the option is a SKU contributor.
We should change the UI of the option creation to have the user
- Choose whether the option is a SKU Contributor
- Choose an Option Field Type
Notes
- See
COMMERCE-2895for context2. Update UI to require user to first decide if option would be SKU Contributor or not
Definition of Done
- The ordering and layout of the Edit Option side bar matches the mock, with the Option Field Type below the row of toggle buttons
The Option Field Types available for the user to select is dependent on whether or not the option is set as a SKU contributor.- If the user makes an invalid selection (e.g. field type = boolean and sku contributor = true) then we throw an error message when they try to save the option and let them know this combination is not allowed.
Mocks
https://www.figma.com/file/sFhvoyxtfxWOXxImDDjJ1i/m-product-bundle-flow-01a-ac?node-id=329%3A11257
- depends on
-
COMMERCE-2904 Improve the Product Options UI
-
- Closed
-
- Is blocked by
-
COMMERCE-3954 Cannot change a CPDefinitionOptionRel to not being a sku contributor
-
- Closed
-
- is demanded by
-
COMMERCE-2895 Can't generate SKUs if Option Field Type is a boolean
-
- Closed
-
- is related to
-
COMMERCE-3800 Price Attributes are valid only for Option types select-from-list and single-selection
-
- Closed
-
-
COMMERCE-3660 Do not allow the Multiple Selection option field type for SKU contributor options
-
- Closed
-