Product library management · Part 1

Building a Product Library from Retailers' Planograms

If you're starting without a product library, the planograms retailers send you are a good place to begin. Spanner AI can gather their products into one library for you, keyed on the real barcode, with every retailer's codes kept and the dimensions most retailers agree on. This guide explains what it does at each step, so you know what to ask for and can check the result.

The four steps

Each retailer's planograms describe the same products in their own way. Their product code is usually their own ordering code, the real barcode may or may not be filled in, one retailer may record a tray where another records a case, and some will have measured a can lying on its side. So the work is in two halves: first collect everything as each retailer gave it, then combine it into one record per product.

You'll use two product libraries along the way:

  • A harvest library, for reference: every product exactly as each retailer supplied it. Keep it until you no longer need to look back at what a retailer sent.
  • Your product library, for production: one record per product, which you build your planograms from.
Ask Spanner AI. Start with what you have and where you want the libraries, for example:
  • "I've got Tesco, Morrisons and Sainsbury's planograms for soft drinks in this folder. Build me a product library from them, keyed on barcode, in my Product Data folder."
  • "Set up a harvest library and a product library for crisps, with Retailer ID, Retailer UPC and Consolidate ID columns."
  • "Harvest this Morrisons planogram into the harvest library."
  • "Consolidate the harvest library by Consolidate ID and show me anything that didn't match."
It checks the choices with you as it goes, such as which code to trust and where files go, and tells you what it changed after each step. You can also do every step yourself, as described below.
This guide is for Spanner 2.5.1 and later, which can create library workbooks, merge products by barcode however many digits they're written with, and keep every retailer's codes on the merged product. Spanner AI needs the Write Files permission to create and fill the libraries. The guide assumes you're familiar with Using a Product Library.
  1. InputRetailers' planogramsPSA files
  2. Step 1PlanDecide the fields
  3. Step 2HarvestAdd a consolidation key, export
  4. ReferenceHarvest libraryEvery retailer's products
  5. Step 3ConsolidateOne product per key
  6. ProductionYour product libraryOne record per product
  7. Step 4Code upNielsen / Circana
  8. ThenKeep it up to datePart 2
Step 1

Plan your library

Decide what each product record will hold before you open the first planogram, and set up a product library interface for each library with Interface › New Product Library Interface. Map these fields in both:

IDIn the harvest library, each retailer's own code. In your product library, the real barcode, which consolidation sets for you.
Retailer ID and Retailer UPCClassifications holding the retailer's codes exactly as they were in the planogram. Spanner offers to add them when you open a planogram file.
Consolidate IDA classification holding the key products are combined by: the real barcode wherever you know it. If the retailers' barcodes are reliable, you can use UPC itself instead.
MatchesThe product's other codes. Consolidation puts every retailer's code here, so sales data and planograms that use those codes still find the product.
DimensionsUnit, Tray, Case and Other, each with its counts high, wide and deep.
ClassificationsYour category's hierarchy and attributes. Leave space for Nielsen or Circana's, which you add in step 4.
Size and Unit of measurementOptional, such as 400 and g. Useful for spotting mismatches.
Spanner AI can create both libraries for you: it writes each new workbook's column headings, links it to Spanner with a product library interface, and fills it. Tell it where the files should go and which fields you want. If a workbook already exists, it keeps a backup copy before changing it.
The Interface menu with New Product Library Interface highlighted
Interface › New Product Library Interface sets up a library. You'll need two: the harvest library and your product library.
Step 2

Harvest the planograms

Repeat these steps for each retailer's planograms.

  1. Open the planogram file. When Spanner asks, let it copy the codes into Retailer ID and Retailer UPC, so the retailer's codes are kept whatever happens to ID later.
  2. Check which field is the retailer's key. Most planograms are keyed on ID, but some retailers, such as Morrisons and Waitrose, key on UPC, so their own code is in UPC rather than a real barcode. Spanner notes this in the document's comments: open Edit › Edit Document and look under Comments for PSA key field: UPC or PSA key field: UPC + ID. No note means the key is ID.
  3. Add a Consolidate ID classification and fill it in for each product, in this order of preference:
    • copy the UPC, when it's a real barcode;
    • look the code up in a list the retailer gives you, or ask Spanner AI to match products by description;
    • otherwise use the retailer's own code with a prefix, such as MOR+123456, so it can't be confused with a barcode.
  4. Export the products to the harvest library with Interface › Product Library › your harvest library › Export All Products to Product Library.
Check the key field before you match anything. On a planogram keyed on UPC, the UPC column holds the retailer's code, so copying it into Consolidate ID would give you their code, not the barcode.
The Edit menu, with Edit Document at the bottom
Edit › Edit Document opens the Document Editor for the selected document.
The Document Editor, with the Comments box open at the top
The Document Editor's Comments, at the top. On a planogram keyed on UPC they read PSA key field: UPC; you can add your own notes here too.
Interface, Product Library, with Export All Products to Product Library highlighted
Interface › Product Library › Export All Products to Product Library writes the retailer's products to the harvest library.
Step 3

Consolidate

Start a new document and bring in the whole harvest library with Interface › Product Library › your harvest library › Get All Products. Then merge each product's records into one with the Merge Many Products automation command:

Parameter 1Consolidate ID (or UPC): the key products are grouped by. Products with a blank key are left alone.
Parameter 2Pad14, ID: both options, separated by a comma or a space.

To run it once, use Automation › Enter Automation Command. To keep it for next time, add it as an automation in Tools › Settings › Automation: click + to add a row, name it, and click … to add the command. It then appears by name under Automation › Automation (Automations covers this in full). Or ask Spanner AI to run it. The two options:

  • Pad14 compares barcodes padded to 14 digits, so 12345678 and 0000012345678 are the same product, and so are a 12-digit UPC-A and its 13-digit form. A 14-digit code for a pack or case (one not starting with 0) only matches itself. Codes that aren't all digits are compared ignoring capitals and spaces.
  • ID gives every product with a key that key as its ID: 13 digits for an ordinary barcode, as in Nielsen and Circana data. Its old ID moves to Matches. If another product (one with no key) already has that ID, it gets _1 added, then _2, and so on.
Interface, Product Library, with Get All Products highlighted
In a new document, Get All Products brings in the whole harvest library.
The Automation menu, with Enter Automation Command highlighted
Automation › Enter Automation Command runs a command once.
The Tools menu, with Settings
The Settings Editor with the Automation section open, listing a Consolidate Products by Consolidate ID automation
Tools › Settings, then Automation: each saved automation, its number of actions, and when it's offered. Here, Consolidate Products by Consolidate ID holds the one Merge Many Products command.
Automation, Automation, with Consolidate Products by Consolidate ID highlighted
Saved automations appear by name under Automation › Automation.

What happens to each group of products

The product that's keptThe one on the most planogram positions, then the one whose unit dimensions most of the group agree with. Dimensions agree when they're within 3 mm or 3%, whichever is looser, and a product measured on its side still agrees with one measured upright.
CodesThe other products' IDs and Matches are added to its Matches, so nothing that pointed at them is lost.
Tray, case and otherFor each pack, the one most of the group agree on, counts included. If it's a tie, the kept product's own wins. A pack the kept product didn't have is filled in from the others.
Disagreeing packsIf no product has an Other pack, a tray that disagrees with the rest becomes the Other pack, or failing that a case that disagrees. This keeps, for example, one retailer's shelf-ready pack alongside another's tray.
PositionsIf the planograms are open in the same document, every position moves to the kept product. A position whose product was recorded the other way round is turned, so it takes the same space on the shelf. One using a pack that became Other switches to Other.

When you're happy with the result, write it to your product library with Interface › Product Library › your product library › Export All Products to Product Library.

The whole merge is one step: Edit › Undo puts every product, code, pack and position back as it was. Its entry in the undo list says how many groups were merged, how many products were given new IDs, and anything that couldn't be matched.
Step 4

Code up and finish

Retailers' own classifications are rarely much use for category management, so code your products from a Nielsen or Circana report instead.

  1. Import the report's attributes with Interface › Import Classifications from Excel, matching on the barcode. Save it as a classifications import (Interface › Saved Classifications Import) so you can repeat it with the next report. See Importing Classifications from Excel.
  2. Fill the gaps. Ask Spanner AI to suggest classifications from product descriptions, or to read sizes and units from them. Check what it suggests before you rely on it.
  3. Resolve the remaining retailer codes. Products still keyed on a prefixed retailer code, such as MOR+123456, can be re-coded when you find their barcode.
  4. Export the finished products to your product library.
The Interface menu with Import Classifications from Excel highlighted
Interface › Import Classifications from Excel, for the Nielsen or Circana report.

Which source to trust

Once your library exists, it isn't always the best source. Most libraries hold a few hundred to a few thousand products per category, so checking a list of disagreements by hand is realistic.

Working onProductsDimensionsClassifications
Your own new planogramAll from your libraryYour libraryYour library, or a Nielsen / Circana report
A retailer's planogramOnly those on the fixtureThe retailer's planogramA Nielsen / Circana report, not the retailer's

What comes next

A library is only useful while it's current. Products are delisted, new ones launch, and packs change. Part 2, Keeping a Product Library Up to Date, covers archiving products that have left the market and finding dimensions for new ones, with each Nielsen or Circana release.

Want help building your library?

Setting up a product library from retailers' planograms is a one-off job worth getting right. We can do it with you, or for you.

Email us Book a Demo