Fill the piece details with metafields

Create the custom product metafields Filigrana reads for metal, hallmark, stone, stone cut, size, dimensions, technique, period and condition.

The metafields

The Piece data sheet block on the product page reads these product metafields. All use the namespace custom and the type Single line text.

  • custom.metal: for example 18k yellow gold, sterling silver, platinum
  • custom.hallmark: the fineness stamp, for example 750, 925, 585, 950
  • custom.stone: for example Opal, Diamond 0.30 ct
  • custom.stone_cut: round, oval, cushion, emerald, octagon, marquise, pear or cabochon
  • custom.size: for example US 6, 18 in chain
  • custom.dimensions: for example 12 x 8 mm
  • custom.technique: for example Lost-wax casting, hand engraved
  • custom.period: for vintage pieces, for example Art Deco, c. 1925
  • custom.condition: for vintage pieces, for example Excellent, light wear to the shank

Create the definitions

  1. In Shopify admin, go to Settings, Metafields and metaobjects, Products.
  2. Select Add definition.
  3. Enter a name (for example Metal) and set the namespace and key to custom.metal.
  4. Choose Single line text as the type and save.
  5. Repeat for each metafield you use. Skip the ones you do not need: empty rows are hidden.
  6. Open a product and fill in the values under Metafields.

What the theme works out for you

  • Metal: if custom.metal is empty, the theme uses a metal option (such as a Metal variant option) or the first material in the materials line.
  • Hallmark: if custom.hallmark is empty, the theme works out the stamp from the metal: 18k is 750, 14k is 585, 22k is 916, 9k is 375, platinum is 950, sterling silver, vermeil and plated pieces are 925.
  • Visuals: the metal gets a swatch, the hallmark a stamp with its purity, and the stone an outline of its cut. Turn these off in the block with Show swatches, hallmarks and stone cuts.

Extra rows

The Piece data sheet block has two free rows (Row label and Row value) for anything else, such as a certificate number. Connect a row value to another metafield with the dynamic source button in the theme editor.

Contact support