Modifications

Description#

Modifications represent changes that are allowed to be made on a specific item for the sake of customization and personalization of an order.

Data#

Name#

  • Localizable

Description#

  • Localizable

Type#

  • Type
    • Enum
      • Type
        • String
      • Options
        • Single choice
        • Multi choice
        • Boolean
  • Validation
    • Required

Options#

  • Type
  • Validation
    • Required
    • Minimum
      • 1
    • Conditional validation
      • If type is 'Boolean', then Maximum and Minimum is 2.

Sample data structure#

{
name: "Toppings",
description: "Select what you want on your burger",
type: "Single choice",
options: [
...
],
}