Skip to main content

Merging ingredients

Duplicate ingredients cause fragmented pricing data, split recipe links, and inaccurate cost reports. The merge feature lets you consolidate duplicates into a single ingredient, moving their records across automatically.

When to merge​

  • Naming inconsistencies - "Semi Skimmed Milk" and "Semi-Skimmed Milk 2L" are the same ingredient tracked twice.
  • Invoice auto-creation - a new ingredient was auto-created from an invoice when a matching one already existed.
  • Team misalignment - different team members added the same ingredient under slightly different names.

How to merge ingredients​

  1. Navigate to CostingBrik > Ingredients.
  2. Open the More actions menu (the three-dot button) and select Merge ingredients.
  3. Follow the three-step process.

Step 1: Select ingredients​

Choose the ingredients to merge:

  • Ingredients to merge from - one or more ingredients that will be removed. You can select multiple sources to consolidate several duplicates at once.
  • Ingredient to merge into - the single ingredient that will take on their records.

Each source ingredient appears as a chip, making it easy to add or remove selections before proceeding.

Step 2: Preview the merge​

Brikly shows a breakdown of what will be transferred, with a count for each kind of record it finds (Supplier links, Recipe usages, Invoice lines, Price history, Matching patterns and Analytics records):

CategoryWhat transfers
SuppliersActive supplier links and pricing, apart from a duplicate of a supplier product the target already has (see below)
RecipesAll recipe references update to the target ingredient; a recipe that already uses the target keeps both lines, each with its own quantity
InvoicesHistorical invoice line item matches
Price historyAll recorded price points
Matching patternsAI-learned matching patterns (a pattern the target already has is combined, not duplicated)
AnalyticsUsage and cost analytics (periods both ingredients share are recalculated overnight)
One-off suppliersSuppliers marked as one-off for the merged ingredient
Supplier historyIts preferred supplier changes
Modifiers"Remove it" modifiers, such as "No oat milk", point at the target
Kitchen measuresIts kitchen measures, such as "1 pump = 10 ml". Where the target already has a measure with the same name, the target's is kept and recipe lines move onto it

Only the duplicates' active supplier products move; archived ones stay on the duplicate when it is archived. Where both ingredients have a link to the same supplier product, the preview warns you first. Links from one supplier count as the same product when they share a product code; with no code, when they share a brand and pack; with neither a code nor a brand, whatever the pack. The target's link is kept with its own price and pack details, and the incoming one is deactivated. If the target's matching link is archived, it is brought back with the incoming price and pack details instead.

When merging multiple ingredients, a Per ingredient breakdown shows how many suppliers and recipes each source has, so you can check every one before confirming.

Under Heads up, the preview also warns you about anything that needs a second look, such as a supplier product both ingredients have, the recipes that will list the target twice, or a one-off supplier tag moving with a merged item: that supplier then stops costing the target, and the warning says so.

Add a Merge note here if you like, then click Continue to confirm.

Step 3: Confirm and merge​

Review the summary and click Merge ingredients.

The records move to the target ingredient as the preview showed, and the source ingredients are archived. When the merge makes one of the merged items' suppliers the target's preferred supplier, the change appears in the target's Supplier history.

This action cannot be undone

Merging is permanent. Source ingredients are archived and their records are reassigned. Review the preview carefully, especially the recipe impact, before confirming. Afterwards, check any recipe that now lists the ingredient twice, and combine the two lines by hand if you want one.

When a merge is refused​

Brikly refuses a merge, and says why, when:

  • the items are measured differently (one by weight, another by volume or by the unit). Choose an ingredient measured the same way, or swap the recipe line by hand;
  • the ingredient to merge into is set up for one site only, and recipes that use the other item belong to another site. Choose an ingredient available to all of them;
  • one of them is a sample ingredient from the guided setup ("Sample ingredients cannot be merged.");
  • someone else is changing one of the items right now. Nothing is merged: try again in a moment.

Multi-ingredient merge​

Unlike supplier merge (which is always one-to-one), ingredient merge supports merging multiple sources into one target in a single operation. This is useful when the same ingredient has accumulated several duplicates over time.

For example, you might merge "Milk Semi Skimmed", "S/S Milk", and "Semi Skimmed Milk 2L" into a single "Semi-skimmed milk" ingredient in one step.

Permissions​

Only owners and admins can merge ingredients: Merge ingredients shows in the More actions menu for them alone.

Tips​

  • Check recipes after merging - while all recipe links transfer automatically, it is worth reviewing affected recipes to confirm quantities and units are correct. A recipe that used both items now lists the target twice: combine the lines by hand if you want one.
  • Merge before bulk import - if you are about to import a supplier's price list, clean up duplicates first to avoid creating even more fragmented records.
  • Use consistent naming going forward - after merging, update your ingredient naming conventions to prevent duplicates from reappearing. See Adding ingredients for naming tips.