Workfile Store

Advanced Product Features

Variant options, product specs, badges, and metafields — power tools for your product catalog.

Beyond the basics, Workfile offers advanced product features for merchants who need structured data, visual labels, and reusable variant configurations across their catalog.

Variant Options

Variant Options are reusable option templates (Size, Color, Material) that you define once and apply to multiple products. They control how variants are generated and displayed on your storefront.

Creating an option template

Go to Products → Options (or Advanced → Variant Options in the sidebar).

Click New Option

Enter the option name and choose a display type.

Choose a display type

Display TypeBest forExample
DropdownMany values, text-basedSize: XS, S, M, L, XL, XXL
ButtonsFew values, text-basedSize: S, M, L
Color SwatchColors with hex valuesColor: Red (#ef4444), Blue (#3b82f6)
Image SwatchVisual options with imagesPattern: Floral, Striped, Solid

Add values

Add each option value. For color swatches, include the hex color. For image swatches, upload a swatch image.

FieldRequiredExample
ValueYesred
LabelOptionalCherry Red
Color hexFor color swatches#ef4444
Image URLFor image swatchesUploaded swatch image

Save

The template is now available when creating variants on any product.

Importing from global templates

Click Import to browse industry-standard option templates:

TemplateValues
Clothing SizeXS, S, M, L, XL, XXL
Shoe Size (India)6, 7, 8, 9, 10, 11, 12
ColorRed, Blue, Green, Black, White, etc.
MaterialCotton, Polyester, Silk, Linen, etc.

Import a template to add it to your store, then customize the values as needed.

Define options at the store level once, then reuse them across products. This keeps your catalog consistent — every product uses the same size labels, color names, and display format.

Using options on products

When editing a product, enable variants and select which option templates apply. The system generates variant combinations automatically (e.g., Size × Color = 9 variants for 3 sizes × 3 colors).


Product Specs

Specs are structured information fields displayed on product pages — like Brand, Material, Weight, or Warranty. Unlike variants, specs don't create purchasable combinations. They're purely informational.

Creating spec definitions

Go to Products → Specs (or Advanced → Product Specs in the sidebar).

FieldDescriptionExample
NameDisplay labelMaterial
KeyInternal identifier (auto-generated)material
TypeField typeSelect
Show on storefrontDisplay on product pageYes
Show in filtersAllow customers to filter by this specYes
UnitMeasurement unit (for number specs)kg, cm, ml

Available spec types

TypeDescriptionExample
TextFree text with autocomplete from used valuesBrand: "Nike"
NumberNumeric with optional unitWeight: 250g
Yes/NoBoolean toggleHandmade: Yes
SelectSingle choice from predefined optionsMaterial: Cotton
Multi-SelectMultiple choicesFeatures: Waterproof, Breathable
DateDate pickerManufacture date
URLWeb linkCare instructions link
ColorColor pickerPrimary color: #1a1a1a

Setting spec values on products

Once you've defined specs, they appear on the product edit page. Fill in values per product — the text type even autocompletes from values you've used before.

Importing from global templates

Click Import to browse spec templates relevant to your store category. A clothing store might import: Brand, Material, Wash Care, Country of Origin. An electronics store might import: Brand, Warranty, Voltage, Dimensions.

Specs with Show in filters enabled appear as filter options on your storefront's category and collection pages. Customers can filter products by spec values (e.g., "Material: Cotton" or "Brand: Nike").


Badges

Badges are visual labels displayed on product cards — like "New", "Sale", "Bestseller", or "Low Stock". They catch attention and communicate product status at a glance.

Creating badges

Go to Badges in the sidebar (or Advanced → Badges).

FieldDescriptionExample
NameInternal nameSale Badge
LabelText shown on the badgeSALE
SlugUnique identifiersale
ColorBackground color#ef4444 (red)
Text colorLabel text color#ffffff (white)
PositionWhere it appears on the cardTop-left
TypeHow it's assignedManual, Computed, or Rule
PriorityDisplay order (lower = first)1

Badge types

TypeHow it worksExample
ManualYou assign it to specific products"Staff Pick" on curated items
ComputedAuto-assigned based on product data"Sale" when compare-at price exists
RuleAuto-assigned based on conditions"New" for products created in last 30 days

Computed rules

Computed badges auto-apply based on product fields:

Rule fieldOperatorsExample
Compare-at priceGreater than 0Show "Sale" when discounted
InventoryLess than 5Show "Low Stock" when running out
Created atWithin 30 daysShow "New" for recent products
Is featuredEquals trueShow "Featured" for highlighted items

Default badges

Click Seed Defaults to add common badges:

  • Sale — red, auto-applied when compare-at price is set
  • New — green, auto-applied for products created in last 30 days
  • Low Stock — amber, auto-applied when inventory < 5
  • Bestseller — purple, manually assigned

Assigning badges to products

For manual badges, go to the product edit page and select which badges to display. Computed and rule-based badges are assigned automatically — no manual action needed.

Badges also work on services, collections, and categories — not just products. Use them to highlight "Popular" services or "Seasonal" collections.


Metafields

Metafields are custom data fields you can attach to products, variants, collections, customers, orders, or your store itself. Use them for data that doesn't fit standard fields.

When to use metafields vs specs

Use caseUse this
Data shown on product page (Material, Weight)Specs
Data used for filtering (Brand, Color)Specs
Internal data not shown to customersMetafields
Data for custom widgets or integrationsMetafields
Data on non-product entities (customers, orders)Metafields

Creating metafield definitions

Metafield definitions are managed from the same Products → Specs page. They share the same field types (text, number, boolean, select, etc.) but are organized by namespace and can be attached to different entity types.

SettingDescription
NamespaceGrouping key (e.g., "custom", "seo", "internal")
KeyField identifier within the namespace
NameDisplay label
TypeField type (same as specs)
Owner typeWhat entity it attaches to (product, variant, collection, etc.)
PinnedShow prominently in the edit form

Metafields are the most flexible data system in Workfile. If you need to store custom data that doesn't fit anywhere else — a video URL, a PDF link, internal notes, or integration IDs — metafields are the answer.

On this page