Info |
---|
Order-Level Content → Menu → Modifier Multiplier |
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Overview
What is a Modifier Multiplier?
Modifier Multipliers the options you can have for each of the ingredients that the brand allows to get modified in each item, they have a PLU related to each of them in a lot of cases but there might be POS exceptions.
These are what you might know as ingredients that are modifiable in each of our items like No Tomato (Sandwich), Regular Tomato (Sandwich), Extra Tomato (Sandwich), Regular Lettuce (Sandwich), Extra Sugar (Coffee), Light Milk (Coffee).
Modifier Multipliers are the options within a Modifier.
...
There are five modifier control scenarios that we have identified:
Boolean: The individual modifier can either be on or off, not available in a range
Ex: Add bacon to a burger
UI: Checkbox
Non-numeric range: The individual modifier is available in a range of quantities that the brand wants to display as a non-numeric value
Ex: None, light, regular, extra ketchup
UI: Edit pencil icon with slide-up drawer
Numeric range: The individual modifier is available in a range of quantities that the brand wants to display as a numeric value
Ex: 0, 1, 2, 3 creams in your coffee
UI:
+ -
buttons
Select one from options: The modifier has multiple options from which the guest can select one
Ex: Salad dressing
UI: Radio button
Select multiple from options: The modifier has multiple options from which the guest can select more than one
Ex: Sauces for chicken nuggets
UI:
+ -
buttons, description that displays amount guest must select
Existing fields:
|
|
...
Modifier Type | Rules / Acceptance Criteria |
---|---|
Boolean/checkbox |
|
Non-numeric range
|
|
Numeric range |
|
Select one from options |
|
Select multiple from options |
|
Steps to
...
Disable a
...
Modifier Multiplier for a
...
Certain Restaurant:
Remove the PLUs for the modifier multiplier that you don't want any more from the restaurant PLUs list.
Toggle the "Inject Default Selection" for the modifier in Sanity if the default value is not the one that should be available. (read below for explanation)
...
Turn the enable-hide-modifier-multipliers flag ON.
Note: If the modifier has a default modifier multiplier it will always be included in the list of options (regardless if it is available on the restaurant or not) unless the "Inject Default Selection" toggle is turned on in Sanity. Here is the logic in the code that always marks a MM as available if it is the default one: https://github.com/rbilabs/ctg-whitelabel-app/blob/master/workspaces/frontend/src/utils/availability/index.ts#L271-L275
...