This guide will be removed on April 29, 2022. Please use our new, easier-to-use Toast technical documentation site. All updated content is on the new site.

Calculating Prices for Modifier Options that Inherit a Price from a Modifier Group

Modifier options that are priced at the group level, using the Size Price, Sequence Price, or Size/Sequence Price pricing strategy, require additional price calculation. You can determine if a modifier option is priced this way by inspecting the modifier option's price and pricingStrategy values. If the pricingStrategy value is GROUP_PRICE, then the modifier option has been priced at the group level. If the modifier option's price value is null, it means that the group price is one that cannot be resolved down to the modifier option level and it requires additional calculation. This indicates that the modifier group uses the Size Price, Sequence Price, or Size/Sequence Price pricing strategy because those are the group-level pricing strategies that require additional calculation.