Variant Frameworks for Size and Colour: Designing the Matrix Before the Items
2 dimensions. 6 sizes. 8 colours. That is 48 variants from one item, before a second dimension, a second framework, or a second season enters the picture. In LS Central the count is decided at framework time, not at item time: a framework code references a combination of variant dimensions, for example Colour and Size, and each item’s framework code controls which variants are created. Get the framework wrong and the error does not stay in setup. It multiplies into every item that reuses the code.
The error first: a matrix you cannot undo cheaply
The expensive mistake is building the matrix around the first item that needs it. A framework built for one shoe, one colour run, or one vendor’s size scale looks tidy on day one. Reused across a category, the same code carries values that do not belong to the new items, misses values that do, and creates combinations nobody stocks. Because the framework code controls variant creation, a loose framework does not produce one wrong item. It produces a wrong variant set on every item assigned that code.
The fix is order of work. Design the dimensions, the base values, and the combination rules first. Create items second. The procedure below follows the documented build sequence, base values, framework code, combinations, then the item card, with the design decisions placed where they belong: before the last step, not after it.
Count the matrix before you build it: dimensions and combinations
Start with arithmetic, not setup screens. Multiply the value counts for each dimension in the framework. Two dimensions with modest value lists already reach dozens of variants; a third dimension multiplies again. That number is the stock-keeping, counting, and reporting load the framework creates, so it deserves a deliberate decision.
Two questions settle most frameworks:
- Does every combination exist? If some size and colour pairings are never bought or sold, the framework still needs a way to keep those pairings out of variant creation. That control lives in the combinations and in the Extended Variant Values discussed below.
- Is this one framework or two? Items that share the same dimensions and the same value logic belong on one framework code. Items that need different dimensions, or a different size scale, need their own code. Reuse is valuable only while the value set stays honest for every item using it.
Base values that read well on every screen
Base values are defined per code, such as COLOR, SIZE, or STYLE. For each base value, the Value is copied to the Value Description, and a logical order is set for re-sorting. Those three details, code, description, and order, decide how the matrix reads everywhere it appears.
Three design rules follow directly from that mechanic:
- Keep codes short and stable. The code is the stored value; the description is what staff read. A code that changes meaning between frameworks breaks comparability, so one code should mean one dimension across the setup.
- Write descriptions for the smallest screen. Value is copied to Value Description, so the starting text is already there. Edit it only where the code alone would confuse a reader; consistency across values in the same dimension matters more than clever wording on one value.
- Set logical order deliberately. Logical order exists for re-sorting, and sizes are the obvious case: XS, S, M, L, XL reads in buying order only if the order values say so. Alphabetical order and buying order are not the same order, and the framework is where that difference gets resolved.
Framework codes and auto-assignment rules
A framework code is the reusable design object: it references the combination of variant dimensions, and attaching it to an item controls which variants that item gets. Framework codes can also be auto-assigned by category, product group, or vendor, so a new item receives a framework without a manual choice on every card.
Auto-assignment rewards clean categories and punishes messy ones. If a category holds items with two different size scales, an auto-assigned framework will be wrong for part of the category every time. Design the assignment rule and the framework together: one framework per distinct dimension-and-scale pattern, assigned at the level, category, product group, or vendor, where that pattern is actually uniform.
Default, optional, or request-at-registering values
Extended Variant Values control which values join a combination. Each value carries a Value Type. Default, Request at Registering, or Optional, and that type controls inclusion when variants are created. This is the control that keeps a full base-value list from becoming a full variant list on every item.
| Value Type | What it controls | Design use |
|---|---|---|
| Default | Inclusion when variants are created, as a standard value in the combination | The core range every item on the framework normally carries |
| Optional | Whether the value joins the combination for a given item | Values that belong to the framework but not to every item |
| Request at Registering | Inclusion is decided at registering time | Values that should prompt a decision instead of being created silently |
The design point is restraint. Marking every value Default recreates the full matrix on every item. Reserving Default for the proven core range, and pushing the long tail to Optional or Request at Registering, keeps variant counts close to what the store actually stocks.
Weights: teach the framework how customers buy
Variant Weights describe how quantities distribute across sizes, for example across XS to XL, and feed Allocation Plans for buying decisions. Weights can come from Variant Weight Curves, so a size curve defined once can supply the distribution instead of each framework carrying hand-entered numbers.
Skipping weights does not make buying neutral. It makes the distribution an afterthought at allocation time, repeated item by item. A framework with considered weights carries the buying pattern with it: the middle-heavy curve for one category, a flatter curve for another. Set weights at framework design time, from a weight curve where one fits, and review the curve when the category’s buying pattern changes, not when an allocation already looks wrong.
Barcodes and prices at framework time
Two further choices sit on the framework setup and are easy to postpone past the point where postponing is cheap. A barcode mask can be assigned at framework level, and price can be set generally or per variant. Stock-keeping units can be created per variant or per variant and location, a decision that changes how much stock detail the setup maintains.
| Choice | Option A | Option B | Decide by |
|---|---|---|---|
| Stock-keeping units | Per variant | Per variant and location | Whether stock must be held and counted per location at variant level |
| Price | General price | Price per variant | Whether any variant in the framework legitimately sells at a different price |
| Barcode | No framework mask | Barcode mask assigned | Whether variant barcodes follow a predictable pattern the mask can express |
None of these choices needs the most detailed option by default. Each needs a conscious option. Per-variant pricing for a framework where every variant sells at one price adds maintenance with no benefit; a general price on a framework with a genuine premium variant forces workarounds later. The framework is the cheapest place to get the answer right, because every item on the code inherits it.
Framework design procedure and verification checklist
Build sequence, with the design decisions in place before variants exist:
- Count the matrix: list the dimensions, count the values per dimension, and multiply. Record the variant count the framework will create.
- Create the base values for each dimension code, such as COLOR, SIZE, or STYLE. Check that Value and Value Description read clearly, value by value.
- Set the logical order on every base value so lists re-sort in buying order, not raw code order.
- Create the framework code and attach the combinations the items will use. Leave out pairings that are never stocked.
- Set the Extended Variant Values: Default for the core range, Optional for item-specific values, Request at Registering where a human decision should happen at registering time.
- Set Variant Weights, from a Variant Weight Curve where one fits, so Allocation Plans receive a real distribution.
- Decide the framework-level stock, barcode, and price options: SKUs per variant or per variant and location, barcode mask or none, general price or price per variant.
- Configure auto-assignment by category, product group, or vendor only where that grouping is uniform. Then attach the framework to the retail item card so variants are auto-created, starting with one pilot item.
What success looks like: the pilot item’s auto-created variants match the counted matrix from step 1, no missing core values, no never-stocked pairings, sizes in logical order. The framework code on the card is the one the category, product group, or vendor rule would assign. Weights, barcode, price, and SKU options are set on the framework rather than patched onto the item. If the pilot count differs from the design count, fix the framework before a second item uses it; a framework error corrected at one item is setup, and corrected at fifty items is a cleanup project.
, Dex Carter, Tech Writer
IndexBack to all guides →