MobiariDocs

Reference tables

Color palettes, size charts and dimension tables you create once and show on the page of many products.

A reference table is information that holds for several products: a fabric's color palette, the size guide of a clothing line, the shapes a piece comes in with the sizes of each. You create the table once, apply it to products, categories or collections, and each product's page shows it. A color or a size changed? You change it in one place.

The three kinds

  • Color palette: swatches with a photo, a code and a name (for example LA45C075 GREGE). On the store they show as a grid of squares; clicking one opens the large photo with its code and name, with arrows to the previous and the next. When the swatch stands for one of the product's colors, the click also picks that variant.
  • Size chart: a size per row (XS, S, M, 10, 12, 18M) and a measurement per column (Bust, Waist, Hips, Length), in the table's unit. On the store, the Guia de tamanhos link shows beside the size and opens the chart.
  • Dimensions: the shapes of the piece, each with its drawing and its sizes (Width × Height × Depth). On the store they show in the product's Medidas tab, with "medidas em cm".

Create a table

  1. Open Products → Products and, in the switch above the title, choose Tables.
  2. Click New table.
  3. Give it a name (it becomes the table's heading on the store, for example Lonita or Size guide) and choose the kind.
  4. Fill in the rows:
    • In a palette, click Add swatch. Click the square to Choose image from the file library or Upload from computer. Fill in Code and Name. Without a photo, choose a Color (no photo).
    • In a size chart or a dimensions table, adjust the Columns and the Unit, and click Add row for each size or shape.
  5. If you want, write a note (how to measure, fabric care) and add a picture.
  6. Under Where it shows, choose the categories, collections or products.
  7. Click Create table.

The swatch photos come from the file library. While the table shows on some product, those photos are visible on the store.

Tie a swatch to a variant

In each swatch's Variant field, type the color value as the product has it (for example Grege). Case and accents do not matter. On a product with that color, clicking the swatch picks the variant, and the swatch stays marked while it is picked. On a product without that color, the swatch only enlarges the photo.

Where the table shows

A table shows on a product when it is attached:

  • to the product itself;
  • to one of the product's categories, or to a category above it (a table on Upholstery holds for Sofas);
  • to one of the product's collections.

The product's own table wins: when the product has its own size chart, the size chart inherited from its category does not show on it. Tables of other kinds add up (the category's palette still shows).

In the product, the Organization section shows Reference tables: the product's own and the inherited ones, each saying where it comes from. There you can Add table for that product only, take one of its own off, or Hide on this product an inherited one.

Import and export CSV

In the table, Export CSV downloads the rows as a spreadsheet (separated by semicolons, it opens straight in Excel). Import CSV replaces the rows with the spreadsheet's. Columns Mobiari recognizes: nome (or name, tamanho, size), codigo (or code), cor (or color), variacao (or option) and imagem (or image). The other columns become the measurement columns, in the spreadsheet's order. A row named as one that already exists keeps its photo. The import applies once you save.

On the store

The default theme already shows the tables on the product page:

  • Tabelas de referência: a product block that shows the palettes (in a tab, by default). In the store editor the block can show another kind and change its heading and swatch size.
  • Variações: the Guia de tamanhos link beside the size, when the product has a size chart. The link's text changes in the store editor.
  • Medidas: besides the product's measurement photo, it shows the dimension tables.

If your store uses its own theme made before these tables, add the Tabelas de referência block to the product page in the store editor.

If something goes wrong

  • The table does not show on the product: check under Where it shows that the category or collection really is the product's, and in the product's Organization section that it is not hidden or replaced by the product's own table.
  • Clicking the swatch does not pick the color: the value in Variant must match the color's name on the product.
  • The file needs a name (or size) column.: the spreadsheet's first row needs a nome, name, tamanho or size heading.

Next steps

On this page