How to handle Nested Modifiers

A nested modifier is a modifier whose own subProducts contains another modifier group, so selecting it prompts the customer for a further choice.

Nested modifiers

In the example below, the customer selects a rice and is then offered an optional sauce for it, this sauce is the nested modifier.

Menus that contain nested modifiers are sent with "nestedModifiers": true. Resolve nested groups like any other level, by following subProducts. Their rules apply only when the parent option is selected.

Chicken SateproductType 1
Rice SelectionMin 1, max 1productType 3
Choose a sauce (optional)Min 0, max 1productType 3
Choose a sauce (optional)Min 0, max 1productType 3

Did this page help you?