What it is for and who it is for
Modifiers keeps the choices that go with a dish: the doneness of the meat, an extra of cheese, the size or "no onion". They are arranged in groups that say how many options must be chosen, and each option carries its supplement (more, less or free) and its allergens. A group applies to products or to whole categories: the till asks for it when selling, charges the supplement and sends it to the kitchen.
In detail
Modifiers is the catalogue of the choices that go with a dish: the "doneness of the meat", the "extra cheese", the size, "no onion". It is arranged in groups:
- each group says how many options must be chosen: a minimum (1 or more makes it required) and a maximum (0 is no ceiling), and whether the same option can be repeated ("double cheese");
- each option carries its price supplement: more, less or free; it can come chosen by default and, if it is taxed at a different VAT than the dish (a soft drink inside a menu), its own tax category;
- a group is linked to products or to categories of Inventory, and it is shared: the same "Sauces" group serves every burger and the whole "Meats" category.
It is Sales that asks for the groups at the till, charges the supplement and sends it to the kitchen: this app keeps the catalogue, says which groups each item carries and is the only source of the price of the supplement: whatever the browser sends does not count.
Who uses it:
- The owner, the administrator and the manager create, change and delete groups and options, and link or unlink them.
- The employee (waiter, cashier) does not open the groups (by its address, "No access"): they live them every day at the till.
It is not a product variant (an option carries no stock or cost and does not take away stock) nor a menu at a closed price (that is Menus).
Reference adopted
Checked against the market sweep of the current module (20/08/2026) and against the round of this port
(15/10/2026, skill market-decision); this is adopted, nothing more:
- Square (modifiers): the group is an object of its own and reusable, with a minimum and a maximum of selections; an option can come preselected; it is assigned to many items.
- Toast (modifier groups): a kitchen name different from the commercial one; the supplement can be a surcharge or a discount; default options; an order missing a required group is not sent.
- Clover (groups): there is no "required" box: required is "minimum 1 or more".
- Lightspeed Restaurant: the group hangs from an item or from a category; a modifier is not a variant and does not move stock; it allows quantities of the same option.
- LS Central (infocodes): the supplement with another VAT rate is its own sales line.
- Revo XEF and Ágora (hospitality POS in Spain): groups of "modifiers"/"supplements" with a minimum, a maximum and a default option, edited in the group's own form with its items.
- Loyverse and Odoo PoS: the options and the items they apply to are edited on screen, not by another way; the extra price is set by the catalogue.
Before you start
- Modifiers needs Inventory (the products and categories a group is linked to) and Taxes (the own tax category of an option). Turning Modifiers on turns both on.
- Without Sales nobody asks for the groups at the till; without Kitchen the kitchen ticket does not carry them. Both talk to Modifiers through its services, never through its tables.
- Supplements go in the business's currency, its country's, the one Settings → Business shows (euros in Spain, złoty in Poland), with its decimals and grouped from four digits on screen ("+1.234,56 €") and in whole cents (that currency's smallest unit) through the API; they can be negative (a discount) or zero (free).
Initial setup, step by step:
- Open Modifiers and tap "New group": name and, if needed, kitchen ticket name, minimum, maximum and whether it repeats («Create a group»).
- Open the group (tap its row) and add its options with their supplement («Add, change or remove the options of a group»).
- In the same sheet, in "Applies to", link it to the products or categories that carry it («Link a group to products or categories, and unlink it»).
- At the till, tap one of those items: the sheet comes up with the group, its rule and the price of each option («Choose the options when selling an item»).
Screens
Modifiers
Here are the modifier groups, each one with its choice rule (optional or required, how many options at most and whether one can be repeated), how many options it has and to how many products and categories it applies. With "New group" you create one and, on its row, you change or delete it. Tap a group to open its sheet: there you add its options, with their supplement and their allergens, and in "Applies to" you link it to the products or the categories that carry it. A group without options or that applies to nothing does not show at the till.
Detail
Menu Modifiers (a single entry). At the top, the title "Modifiers". Below, the table of groups with the "Search…" box (it searches by name and by kitchen ticket name): Name (sorted and filtered), On the kitchen ticket (the kitchen name; empty, the commercial one), Choice (sorted by the minimum and filtered by Required or Optional), Options (how many it has), Applies to (to how many products and categories) and Order; the last three are sorted too. The Choice column says the rule: "Optional" or "Required (min. N)", with " · max. N" if there is a ceiling and " · repeats" if an option can be repeated. By order and name; pages of 50.
Whoever can manage sees "New group" and, on each row, Edit and Delete. Tapping a row opens the group's sheet, for everyone.
Group sheet
Title "Group — {name}" and its rule. Two sections:
- Options: each one with its name, its kitchen ticket name (if different), its supplement in the business's currency ("+€1.00" or "-€0.50" in Spain, "+zł 1.00" in Poland; or "Free"), its own tax category if it has one, the "By default" mark and, under its name, its allergens if it has any ("Allergens: Milk"). Whoever manages sees "Add option" and, on each one, Edit and Delete. Empty: "This group has no options yet.". If it has fewer options than the minimum asks for (and they cannot repeat), a notice says so: the till could not complete it.
- Applies to: each product ("Product · Burger (HAM-01)") or category ("Category · Meats") it is linked to; whoever manages sees "Add product or category" and, on each one, "Stop applying". Empty: "This group does not apply to anything yet: it will not show in the till.".
20 at a time, with "Load more".
Forms
- Group ("New group" / "Editing group — {name}"): Name, "Kitchen ticket name", "Minimum (1 or more = required)", "Maximum (0 = no ceiling)", "An option can be chosen more than once" and Order.
- Option ("New option" / "Editing option — {name}"): Name, "Kitchen ticket name", "Supplement ()" (the business's: "Supplement (PLN)" in Poland; negative is a discount; empty or 0, free), "Own tax category" (searched; empty = the dish's), Order, "Chosen by default" and, under it, "Allergens" (the fourteen: the ones the option adds to the dish are marked).
- Link ("Apply «{group}» to…"): Product or Category, and the search box of each one.
- Delete group or option and Stop applying: they ask for confirmation saying what goes with it.
States of each screen
| State | What the person sees |
|---|---|
| Loading | "Loading…" while the first result arrives. |
| Empty | "No modifier groups yet." (or "No results" with a search or a filter), with "New group" if they can create; in the sheet, the empty states of each section. |
| Error | The table's notice with "Retry"; a refusal of a form shows inside it, next to its field. |
| Reconnecting | What is painted stays; a strip warns "Reconnecting…" until the connection comes back. |
App inactive (app_inactive) |
"This app is not active in this business". |
| No permission | What they cannot do does not appear; if they arrive through another door, "You do not have permission". |
Unsaved changes on Android
In this app's create and edit windows, the phone's Back button asks "Discard changes?" when something typed or chosen has not been saved: "Keep editing" keeps it and "Discard changes" closes the window without saving. With the window as it opened, Back closes it without asking; a supplement rewritten by itself in the business's currency is no change.
Flows
Look up and search the groups
Steps:
- Open Modifiers.
- Read the table: name, kitchen ticket name, choice rule, how many options, to how many products and categories it applies and order.
- To find one, type in "Search…" (name or kitchen ticket name), sort by a column or filter by name or by whether it is required or optional.
If it fails: the table's notice with "Retry"; without groups, "No modifier groups yet.".
Create a group
Steps:
- Tap "New group".
- Type the Name (required, unique in the business regardless of case: "Sauces" and "sauces" are the same group).
- If the kitchen ticket must say something else, type "Kitchen ticket name"; empty, the kitchen reads the name.
- Set the Minimum (1 or more makes it required; 0, optional), the Maximum (0 is no ceiling; if it is not 0, it cannot be below the minimum), whether an option can be repeated and the Order in which it shows at the till.
- Tap "Create": the form closes and the group shows in the table. It does not show at the till yet: its options and where it applies are missing, and they are set in its sheet. When the assistant creates it, it says so and offers to add its options and to apply it to the dishes or the categories itself; on screen, both are done on the group's sheet, in Modifiers, never on the form of a product of Inventory.
If it fails: an empty name or one of more than 255 characters, a minimum or maximum outside 0–50 or a maximum below the minimum show under their field; a name another group already has, "There is already a group with that name." under the Name. The reason of a field goes as soon as that field is corrected, even if another one says the same. What was typed stays.
Change or delete a group
Steps:
- On the group's row tap Edit, change what is needed and tap "Save". What is not touched stays as it was.
- To delete it, tap Delete: the confirmation says how many options and how many links go with it. Confirm.
If it fails: the same refusals as when creating; lowering the maximum below the options that already come by default, "This group has more options chosen by default than its maximum.". A group that does not exist, "This group does not exist.". Through the assistant, a name that fits several groups or none brings up no card, and if before the "yes" another group fits better what was said, nothing is changed or deleted and the new card comes up.
Add, change or remove the options of a group
Steps:
- Open the group and, in Options, tap "Add option".
- Type the Name (unique within the group) and, if needed, the kitchen ticket name.
- Type the Supplement in the business's currency, its country's, with its decimals (the yen has none): positive charges more, negative is a discount, empty or 0 is free. Through the assistant, an option asked for without its supplement ("in Extras I want an Extra cheese") draws no card: it first asks how much it charges, and it is free only if the person says so.
- Only if the option is taxed differently from the dish, choose its own tax category; empty, it inherits the dish's.
- Tick "Chosen by default" if the till must bring it already ticked. In a group of maximum 1, ticking another one unticks the previous one; with another maximum, there cannot be more default options than the maximum.
- Tap "Create". To change it, Edit; to remove it, Delete (it asks for confirmation).
If it fails: "Create" and "Save" are grey while the name is missing and while the business has not yet said its currency, because the supplement is read in it (without it, "150" yen would be saved as 15,000); until then, leaving the supplement keeps it as typed, without inventing decimals for it or judging it: "¥150" or "-0,50 zł" are not marked red as "This is not an amount", and as soon as the currency arrives they are read in it. If the currency cannot be read, the window says so ("The business's currency could not be read", with the reason) and offers "Retry", which asks for it again; as soon as it arrives, the button lights up. An empty name or one repeated in the group, a supplement that is not an amount, a tax category that does not exist in Taxes or more default options than the maximum show next to their field; the one of the name, the kitchen ticket name, the supplement, the tax category or the order goes as soon as that field is corrected, even if another one says the same, and the one of "Chosen by default" as soon as that switch is changed, without saving again. An option with its own tax category is charged on a separate line, which cannot be worth zero or less: "An option with its own tax category is billed on a line of its own: its supplement must be more than zero.". A group holds up to 100 options. Through the assistant, when changing or removing an option, a group said by its name that fits several or none brings up no card, and if before the "yes" another group fits better what was said, nothing is touched and the new card comes up.
Link a group to products or categories, and unlink it
Steps:
- Open the group and, in "Applies to", tap "Add product or category".
- Choose Product or Category and search for it by its name (or the SKU, for a product).
- Tap "Apply". The same group can hang from many products and categories, and a product can carry several groups: they show at the till by their Order and their name.
- To remove it, tap Stop applying on that row (it asks for confirmation); afterwards it can be linked again.
If it fails: a product or a category that does not exist or is deleted, "This product does not exist in this hub." or "This category no longer exists."; a link that already exists, "This group already applies there.". Through the assistant, unlinking a group said by its name that fits several or none brings up no card, and if before the "yes" another group fits better what was said, nothing is unlinked and the new card comes up. A link to a product or a category already deleted brings up no card either ("This group does not apply there."): it is removed by itself a few seconds after the deletion.
Choose the options when selling an item
Steps:
- At the till, tap an item that has groups (its own or those of any of its categories): a sheet opens with its name. Without groups, the item goes straight in.
- Each group says its rule: "Choose N" if it asks for exactly N, "Choose N to M" if it asks for a minimum and lets you reach a ceiling, "Choose at least N" if it asks for a minimum without a ceiling, "Up to N" if it only has a ceiling, "Optional" if not; each option carries its supplement with its sign, in the business's currency, if it is not zero ("+€1.00" in Spain) and the default options already come ticked.
- Tap the options: in a group of a single one, tapping another one changes it and tapping the same one removes it; in a group that repeats, each option goes on its own row, with its whole name, and each tap adds one to the counter ("× 2") that "−" takes away; on reaching the ceiling, the next tap warns that the group is full.
- While a required group is not complete, the button says "Choose an option to continue" and tapping it points at that group. With everything chosen, it says "Add · " with the supplements already added.
- Tap "Add": the line goes in with the options in the order they were tapped and its price.
If it fails: a group without options is not asked. A group linked to the product and to its category shows only once. If the groups cannot be read, "The options of this product could not be read. Try again." and nothing goes in.
Charge the supplement: price and VAT
Steps:
- When adding the line (to a check or to a direct sale), Sales asks Modifiers to check and price the chosen options for that item, with the session of whoever sells.
- Modifiers checks that each option belongs to a group of that item, that each group is between its minimum and its maximum and that nothing repeats where it cannot; it returns each option with its catalogue price, its names and its tax category.
- An option without its own tax category, or with the dish's, is added to the price of the line; one with another category is charged on a line of its own, child of the dish's, with its rate.
- Sales freezes that copy in the line: changing or deleting the option afterwards does not change what that table pays.
- When charging, the receipt names the options under the dish and each option with another tax category comes out as a line of its own ("+ Soda"), for each dish, with its base and its tax: what the check says is what the card pays.
If it fails: an option that is not of that item, "This option is not offered with this product."; a group below its minimum, "Choose at least N in «Group»."; above its maximum, "Choose at most N in «Group»."; an option repeated where it cannot be, "«Option» cannot be chosen more than once."; some discounts that would take the dish below zero, "These options take the price of «Dish» below zero."; an option with a supplement on an item sold by weight or by measure, "«Item» is sold by weight or measure: an option with a supplement cannot go with it.". The line does not go in.
Have the supplement show on the kitchen ticket
Steps:
- When pricing the options («Charge the supplement: price and VAT»), Modifiers also gives the kitchen text: the kitchen ticket name of each option (or the name, if it has none), in the order chosen, separated by ", ".
- Sales freezes it in the line and sends it with the kitchen ticket; Kitchen paints it under the dish, on the kitchen screen ("+CHEESE, -ONION") and on paper, one option per row.
- Renaming or deleting the option, or its group, after ordering it does not change what the kitchen already has.
If it fails: nothing that is not «Charge the supplement: price and VAT»: if the pricing fails, the line does not go in.
Unlink the groups of a product or a category that is deleted
Steps:
- Someone deletes a product or a category in Inventory.
- A few seconds later, Modifiers unlinks the groups that hung from it (announces: link removed, one per group); the group's other links stay.
If it fails: repeating the notice changes nothing; the deletion of one business never removes the links of another. If ERPlora's staff later recover the product from a separate copy, its groups come back with it («Recover the modifier groups, and those of a product or of a category, from a separate copy»).
Recover the modifier groups, and those of a product or of a category, from a separate copy
Steps:
- The staff recover from a separate copy with Modifier groups, Modifier options, Modifier groups of categories, Modifier groups of products ticked. Modifiers always goes after Inventory, in whatever order it is asked: a deleted category or product that comes back is already live when its groups are linked to it.
- First, each group of the copy the business no longer has (it deleted it, and deleting it takes its options and its links with it, «Change or delete a group») is created again as the Modifiers screen creates it («Create a group»), with its name, its kitchen ticket name, its minimum and its maximum, whether an option can be repeated and its order, and with its options as the group's sheet adds them («Add, change or remove the options of a group»), each with its name, its kitchen ticket name, its supplement, its own tax category, whether it comes chosen by default, its order and its allergens («Declare an option's allergens»). It comes back as a new group, with another identifier, and in the next steps its links of the copy are made to that one: the one the recovery brought back with its name.
- Then, each option that in the copy had a group the business keeps (the same one, even renamed, or the one an earlier recovery brought back with its name) and that this group no longer has, because the business took it away («Add, change or remove the options of a group»), is added again as the group's sheet adds it («Add, change or remove the options of a group»), with its name, its kitchen ticket name, its supplement, its own tax category, its order and its allergens. If in the copy it came chosen by default, it comes back chosen only if the group has room for it: it never takes that from the ones the business chose. In a "choose one" group that already comes with another one by default, or in one that already comes with as many as its maximum, it comes back not chosen and its note says so.
- Each group that in the copy hung from a product live in it and that the business no longer has linked to that product is linked again, as the group's sheet links it («Link a group to products or categories, and unlink it»): the product asks again at the till for its sauces, its doneness or its extras. A product the business no longer had at all comes back as a new one, with another identifier: its groups are linked to that one, the one the recovery made with its SKU.
- Before that, the same with each group that in the copy hung from a category live in it and that the business no longer has linked to that category: all the category's products ask for it again. A deleted category always comes back as a new one, with another identifier: its groups are linked to that one, the one the recovery brought back with its name.
- Recoveries counts each thing apart: "Modifier groups: 1 created", "Modifier options: 1 created", "Modifier groups of categories: 2 created" and "Modifier groups of products: 2 created".
If it fails: a link the business still has stays as it is, and one whose group the business has linked to that product or that category again is not repeated: the business's own stays, and asking again links nothing twice. A group the business unlinked from a product by hand after the copy comes back too, like everything the business no longer has . What the group's sheet does not accept today does not come back and Recoveries says why, by the link's identifier in the copy: a product that stays deleted or that the business no longer has (Products was not recovered, or the business already made another one by hand with its SKU, which keeps the groups it linked to it) or a group the business deleted and already made again by hand with its name ("not_found: …"). That group made by hand stays as the business left it, with its options and its links: no other one is created with its name, and nothing is added to it or linked. A group the business keeps, even renamed, stays with the options it has, changed or not, and only gets back the ones it took away; one the business already made again with its name in that group, the case aside, is not repeated: the business's own stays. An option chosen by default that does not fit comes back not chosen, the business's stay chosen, and its count says so ("Modifier options: 1 created, 1 with notes"), with the note "came back not chosen by default: its group already comes with "Ketchup"" by the option's identifier in the copy. An option the group's sheet does not accept today (its own tax category is no longer active in Taxes, or the group already has 100 options) does not come back and its reason says why, and none comes back to a group the business deleted and made again by hand ("not_found: …"). The options of a group that comes back whole in that same recovery come back with it and are not counted twice: of those, one the group's sheet does not accept today (its own tax category is no longer active in Taxes) does not come back: the group comes back without it, its count says so ("Modifier groups: 1 created, 1 with notes") and its page says in "notes" which option and why, by the group's identifier in the copy. Asking again creates no group twice: the one the recovery brought back is the business's already. The product a recovery made is known by its SKU, whether this recovery made it or an earlier one: asked again from an earlier copy, it gets back the groups the business unlinked from it afterwards, like everything it no longer has. The same with the categories: one that stays deleted (Products was not recovered) or that the business already made again by hand with its name, which keeps the groups it linked to it, gets none and Recoveries says why ("not_found: …"); the one a recovery brought back is known by its name, whether this recovery brought it back or an earlier one.
Declare an option's allergens
Steps:
- Open the group and, in Options, tap "Add option" or Edit on one. Under "Chosen by default" comes the "Allergens" block, with the note "Mark the ones this option adds to the dish." and the fourteen allergens that must be declared, the same ones and in the same order as in a product's form: Gluten, Crustaceans, Egg, Fish, Peanut, Soy, Milk, Tree nuts, Celery, Mustard, Sesame, Sulphites, Lupin and Molluscs. When creating, none comes marked.
- Tap the ones the option has: "+Cheese", Milk; "Mustard sauce", Mustard. Each tap marks or unmarks one. An option that only takes something away ("No onion") or that adds no ingredient ("Rare") is left unmarked.
- Tap "Create" or "Save", like the rest of the option. An allergen marked and not saved asks before the window closes, like any other field.
- In the group sheet, each option with allergens says them under its name: "Allergens: Milk", in the order of the list. An option without allergens has no such row.
If it fails: an allergen that is not on the list is rejected, also through the assistant or the API, and nothing is saved ("That allergen is not one of the fourteen that must be declared."); in the window it shows next to its field, like the option's other rejections. Whoever can only view reads the allergens in the group sheet, but does not have the form.
Add the options' allergens to the dish's
Steps:
- On the till, tap an item that has groups. On its sheet, under the item's name come its allergens and, under each option that has them, its own: "+Cheese" says "Allergens: Milk". An option without allergens does not get that row.
- Choose the options and tap "Add". The line says, under the name, "Allergens: …" with the dish's and those of each option chosen, together, without repeating and in the order of the list of the fourteen: a burger with Gluten and "+Cheese" says "Allergens: Gluten, Milk". All the options chosen count, also those charged on a separate line. A dish without allergens with an option that has them also gets the row.
- If the customer warned of an allergy marked on the line, the warning "The dish has …" also counts the options': "+Cheese" on the dish of someone allergic to milk says "The dish has Milk".
- Send the round: Kitchen gets the line's allergens already added up and crosses them with the customer's allergy as with any dish.
If it fails: if the options cannot be valued, the line does not go in, as with any supplement. An option never takes an allergen away from the dish: "No cheese" does not take the Milk away from a burger that declares it, because what the product declares is what its recipe has and what is taken away is an instruction for the kitchen; if the customer is allergic, their allergy is marked on the line.
Services: what goes in and what comes out
Everything can be asked for through the screens, the assistant (by voice or by text, with the person's
own session) and the API, with the same rules and the same permissions. Designed for voice: a group is
named by its id or its name ("group Sauces"), an option by its id or its name and its group ("option No
onion of Extras"), a product by its id, its SKU or its name and a category by its id or its name. If a
name fits several, it is refused saying which ones (409 *_ambiguous). Before changing anything, the assistant asks
for confirmation with its card, which names each record as the screens name it, never by its id. A group
said by its name when changing or deleting it, when changing or removing one of its options or when unlinking it from a
product or a category is looked up as the action will look it up (the same name before one that contains it), and the
card shows the group that will be touched, with its full name ("Group: Spicy sauces" when "sauce" was said). If what
was said fits several groups or none, no card comes up: the assistant hears "«sauces» names several groups: Spicy
sauces, Sweet sauces. Say which one." and asks which one, or "This group does not exist.". The "yes" counts only for
what the card showed: if, before confirming, someone creates a group that fits better what was said ("Sauce" when the
card said "Spicy sauces"), nothing is touched and the new card comes up. When adding an option to a group or applying
it said by its name, the card shows the group it found all the same and the "yes" counts only for it; if what was said
fits several groups, the card shows it as it was said and the action asks which one. An option said by its name comes
up as it is found, with its group ("Option: Aioli (Spicy sauces)" when "aio" was said), or as it was said if it fits
several. If the group, the option or the link comes by its identifier beside another group's name, the
card neither reads nor shows that name, which the action does not use: it says the record of the identifier.
An option by its identifier is looked for inside the group said beside it, so that group does come up. When letting
a group go by the link's identifier, the card does not show either the group, the product or the category whose
identifier comes beside it, which the action does not look at. When applying or letting go a group, a
product said by its SKU or its name and a category said by its name are looked up as the action will look them up,
and the card shows the one that will be touched ("Product: Pizza" when "pizz" was said); when applying it, if what was
said fits several, the card shows it as it was said and the action asks which one, and the "yes" counts only for what
it showed: if, before confirming, someone creates one that fits better what was said, nothing is applied and the new
card comes up. If the product, the category or the link comes by its identifier beside the name of another product or
another category, the card does not show that name, which the action does not use: it says the one of the identifier
.
What it offers: queries (they read, they change nothing)
| What it gives | Who can | Flows | Service |
|---|---|---|---|
| The groups, with search, filters (name, required), order and pages (up to 100) | view | «Look up and search the groups» | modifier.group.list |
| A group by its id or its name | view | «Change or delete a group» | modifier.group.get |
| The options, of a group or all of them, with search and pages | view | «Add, change or remove the options of a group», «Charge the supplement: price and VAT» | modifier.option.list |
An option by its id or its name and its group, with the label the assistant's card names it by: "No onion (Extras)" |
view | «Add, change or remove the options of a group» | modifier.option.get |
| The links, of a group, of a product or of a category, with pages | view | «Link a group to products or categories, and unlink it» | modifier.link.list |
A link by its id, or by its group and its product or category, with its label: "Sauces · Burger" |
view | «Link a group to products or categories, and unlink it» | modifier.link.get |
| An Inventory category by its id or its name, as the list of links names it | view | «Link a group to products or categories, and unlink it» | modifier.category.get |
| The groups with their options of a product (its own and those of all its categories, once each), each option with its allergens | view | «Choose the options when selling an item», «Declare an option's allergens» | modifier.group.for_target |
| The check and pricing of some chosen options for a product: price, names, tax category, allergens, total to add and kitchen text | view | «Charge the supplement: price and VAT», «Have the supplement show on the kitchen ticket», «Add the options' allergens to the dish's» | modifier.selection.resolve |
The groups, a group, the options, the links and the groups of a product can be followed live.
What it offers: actions (they change data)
| What it does | Who can | Flows | Service |
|---|---|---|---|
| Creates a group | manage | «Create a group» | modifier.group.create |
| Changes a group (what is not sent stays) | manage | «Change or delete a group» | modifier.group.update |
| Deletes a group with its options and links | manage | «Change or delete a group» | modifier.group.delete |
| Adds an option to a group, with its allergens | manage | «Add, change or remove the options of a group», «Declare an option's allergens» | modifier.option.create |
| Changes an option, its allergens too (what is not sent stays) | manage | «Add, change or remove the options of a group», «Declare an option's allergens» | modifier.option.update |
| Deletes an option | manage | «Add, change or remove the options of a group» | modifier.option.delete |
| Links a group to a product or a category | manage | «Link a group to products or categories, and unlink it», «Recover the modifier groups, and those of a product or of a category, from a separate copy» | modifier.link.attach |
| Unlinks a group from a product or a category | manage | «Link a group to products or categories, and unlink it» | modifier.link.detach |
What it announces
| Notice | When | What it carries | Service |
|---|---|---|---|
| Group created, changed or deleted | «Create a group», «Change or delete a group» | The group (id, name) |
modifier.group.created, .updated, .deleted |
| Option created, changed or deleted | «Add, change or remove the options of a group» | The option, its group, its name and its supplement | modifier.option.created, .updated, .deleted |
| Link made or removed | «Link a group to products or categories, and unlink it», «Unlink the groups of a product or a category that is deleted», «Recover the modifier groups, and those of a product or of a category, from a separate copy» | The group and the product or the category | modifier.link.attached, .detached |
What it reacts to
| Notice | From | What it does | Service |
|---|---|---|---|
Product deleted (inventory.product.deleted) |
Inventory | Unlinks the groups of that product («Unlink the groups of a product or a category that is deleted») | modifier.link.drop_product |
Category deleted (inventory.category.deleted) |
Inventory | Unlinks the groups of that category («Unlink the groups of a product or a category that is deleted») | modifier.link.drop_category |
What it needs from other apps
- Inventory (requirement): its products and categories, which each link points at, and the categories of each product, to know which groups it carries at the till.
- Taxes (requirement): the own tax category of an option.
- From the platform: the recovery from a separate copy, to which Modifiers says which groups, with their options, and which links to categories and products it gives back («Recover the modifier groups, and those of a product or of a category, from a separate copy»).
Who uses it
| App | What for | Service |
|---|---|---|
| Sales | Asks for the groups of an item at the till and checks and prices what was chosen when adding the line ("Contract with Sales") | modifier.group.for_target, modifier.selection.resolve |
| Kitchen | Does not read Modifiers: it receives from Sales the frozen options of each line ("Contract with Kitchen") | — |
Who can do what
| Permission | Owner | Administrator | Manager | Employee | Service |
|---|---|---|---|---|---|
| See groups, options and links; ask for the groups of a product and price a choice | yes | yes | yes | yes | modifier.view |
| Create, change and delete groups and options; link and unlink | yes | yes | yes | no | modifier.manage |
The roles come from the SaaS with a prefix (hub_owner, hub_admin, hub_manager, hub_employee).