Skip to main content

Modifiers and variants

A product can have multiple groups of modifiers and multiple groups of variants. A product can have many of both, it's not either - or.

Modifiers:

A modifier is a selection to augment the product being purchased eg: "Extra cheese" or "No onions"

  • Modifiers always exist inside a group, the group below is "Choose your Chocolate"
  • A product can have many groups of modifiers and each group can have many modifiers
  • Modifier groups can have min and max selections, where a product cannot be added to cart unless it has at least X or no more than Y modifiers selected
  • Depending on the group settings I can add more than one of each modifier, so I can select Matcha multiple times in the example below.
  • Some modifiers are "free" and some can have a price eg: £1.00, this price is added to the product cost.
  • Modifiers can be marked out of stock, if out of stock they should not be selected.

Variants:

A variant is a core selection, eg: choosing a flavour or type. Variants are always compulsory

  • A product can have more than one group of variants
  • Each variant will have a price, this price is the price of that product so should replace the product price not be added to it
  • Each group of variants is compulsory