What is a picker?
A picker is an item that is configurable. It can have modifiers(extra cheese, extra bacon, etc.) and/or aspects(meal size and type)
ER Diagram of a Picker
Document Fields
Title | Description | Notes | Example URL | Image | Used By |
---|---|---|---|---|---|
Name | This is the name that will be displayed for this picker |
| |||
Image | This is the example image that will be displayed for the picker | ||||
Image Description | This will be used as the alt attribute or as an Aria label for the image (An alt attribute is what shows if the image is unable to render) | ||||
Description | This describes the meal for the picker and any specifics that may apply | ||||
Picker Aspects | This is an aspect of the picker that can be changed or modified. This will commonly have many picker aspect options nested within it | ||||
Picker Default | This will be what the picker is initially set too by default | ||||
Picker Aspect Item Option Mappings | This is used to restrict a modifier from being used if the specified aspect is selected. For example if they pick a bacon and cheese whopper we will not let them modify the bacon or the cheese | ||||
UI Pattern ( Parallel ) | |||||
UI Pattern ( Section ) | |||||
UI Pattern ( Series With Last As Modifier ) | |||||
Quick Configs | These are options that the user can use to auto populate a field. A great example of this is Tim Hortons coffee option Single Single and Double Double | ||||
Options | Everything we would like to include in the section.If we have picker aspects we would have to map each item to each picker aspect response. Example: Picker Aspect Combo Size ( options: A la Carte, Small,Medium and Large). Picker options: Picker aspect A la Carte-> Bacon Cheeseburger item, Picker aspect Small-> Bacon Cheeseburger Meal Small, Picker aspect Medium-> Bacon Cheeseburger Meal Medium, Picker aspect Large-> Bacon Cheeseburger Meal Large. This will help us know when a user selects one or the other picker aspect to know what item to link it to. |
| |||
Channel Exclusions | Here we can specify if we do not want this picker to be available on a certain platform/channel | ||||
Show Static Menu | This adds the picker to the static menu that allows the user to see a default menu without having to first select a store | ||||
Depreciated | These are fields that we have used in the past. We keep these for old versions of the site that could be cached and still used |
Set Up
**Pickers with Duplicate Options
Pickers can also have multiple options of the same combo, this is so that it can be ordered “forwards and backwards”
Pickers Contain Multiple Options of the Same Combo