Six Pixel Radius
Alume / Setup guide

Product data

Set up swatch images and the metafields Alume reads.

Before you begin

Alume is in development. These early guides grow as the theme does.

Several Alume features stay hidden until a product, variant, or collection has the right metafield. Create each one in Shopify, then point the theme setting at it.

Custom swatch images

Choose one setup path for Theme settings > Swatches > Swatch source.

Swatch color or image

Use a small pattern or fabric image stored on Shopify's native color entry.

  1. In Shopify admin, open Products and select a product.
  2. Choose an accurate Category that includes a color category metafield, then save.
  3. In Category metafields, open the color field. Edit an entry or choose Add new entry.
  4. In the entry's Image field, select an image or upload your custom swatch image, then save the entry and product.
  5. In Variants, edit your color option and use the dynamic source icon to connect it to the color category metafield. Select the matching entries as option values, then save. For a new option, choose the category metafield when adding it.
  6. In the theme editor, open Theme settings > Swatches and set Swatch source to Swatch color or image. Save.

Editing a shared color entry updates every product connected to it. Naming an unconnected option “Color” does not give it a native swatch image. See Shopify's category swatch setup.

Variant image

Use the product photo assigned to a variant.

  1. In Shopify admin, open Products and select a product.
  2. In Variants, click the image icon beside a variant.
  3. Select an existing product image, or click Add image to upload one. Click Done, then Save.
  4. Repeat for the variants that need a photo, including size variants of the same color.
  5. In the theme editor, open Theme settings > Swatches. Set Swatch source to Variant image.
  6. In Options with variant images, enter matching option names separated by commas, such as Color, Colour. Save.

Uploading to the product gallery alone does not assign the image to a variant. See Shopify's variant image instructions if your admin uses the redesigned product details page.

Check your swatches

Open the product in the storefront and check each color. Alume uses the assigned variant photo in Variant image mode, then falls back to the native swatch image or color when that photo is missing. Swatch shape applies to both colour and image swatches throughout the theme.

Add a metafield

  1. In your Shopify admin, go to Settings > Metafields and metaobjects.
  2. Open Products, Variants, or Collections, depending on what the feature reads.
  3. Click Add definition.
  4. Set the namespace and key exactly as this page writes them, such as theme.alternative.
  5. Choose the type named below, then save.

Product metafield definitions, with Add definition

Product card highlights

Add a short line to individual product cards, such as a material or finish.

  1. In Shopify admin, open Settings > Metafields and metaobjects > Products and choose Add definition.
  2. Name it Card highlight, set its namespace and key to theme.highlight, and choose Single line text. Save the definition.
  3. Open a product, find Card highlight in its metafields, enter the line shoppers should see, and save.
  4. In the theme editor, open Theme settings > Product cards. Enter theme.highlight in Highlight metafield.
  5. Open a collection containing that product. Its card shows the line beside its product details. Products without a value show no highlight.

You can use another single-line text metafield by entering its full namespace.key. Leave Highlight metafield blank to hide highlights on every card. The setting reads product metafields, not variant metafields.

Lists of products

Smart alternatives reads two product metafields. Both are type Product, with List of products turned on.

  • theme.alternative is the list of other products a shopper might choose instead.
  • theme.upgrade is the list of higher-priced products. Alume only offers one when its price is higher by at least the Price difference on the section.

Leave either list empty and that side stays unused. The section stays hidden until a choice has a real difference, or you write a label. See Smart alternatives.

Facts you name yourself

Product facts, Diptych compare, and Smart alternatives do not ship with fixed fact names. In the section or block, open Facts and enter one metafield per line:

namespace.key|Label

For example, custom.material|Material. The part before the bar is the metafield. The part after it is the label shoppers see. A blank Facts field shows nothing.

Create each fact as a product metafield. A single-line text field is the usual type. A row is skipped when that product has no value.

Blog post products

For Article > Shop this story, create these definitions on Blog posts, rather than Products:

Namespace and keyTypeWhat it supplies
custom.shop_the_storyProduct reference, list of productsUp to eight available products when the block’s Products picker is empty.
custom.shop_the_story_headingSingle line textThe heading when the block’s Heading is empty.
custom.reading_timeIntegerA positive reading-time estimate in minutes; otherwise the theme estimates at 200 words per minute, rounded up.

Fill the values on each blog post. Direct selections in the block take priority and are shared by posts using that template. Author images and bios use the dynamic sources you connect; see Author.

Color, date, and exceptions

  • Mega menu collection swatches read a collection Color metafield named theme.collection_color. If that is empty, Alume uses theme.swatch_hex. A collection with neither is left out of the swatch column.
  • Connected products can use a color or image metafield, such as theme.swatch_color. Enter that namespace and key in the block's Swatch metafield.
  • Pre-orders can show a ship date from a Date metafield. The Ship date metafield setting uses custom.ship_date as the example. A date on the variant replaces the date on the product. See Pre-orders.
  • Gift wrap skips a product whose custom.no_gift_wrap metafield is true. Create it as True or false on products.

Star ratings use the metafields from your reviews app. Those are covered in Star ratings.

Couldn’t find what you need?