Skip to Content
DocumentationGuidesVariant pickers and swatches

Variant Pickers and Swatches

Use this guide to set up product variant pickers and swatches across product cards, quick-add surfaces, Featured product, and the Product template. Fit Check separates product option data, global variant styling, global swatch behavior, product-card swatch blocks, and the Product page Variant picker block.

Start with real product data. Swatches only appear when Shopify product option values have saved swatch color or image data. The global Swatches > Variant images setting can use representative variant media for those swatch-eligible option values, but it does not turn every media-backed option into a swatch by itself.

Setup Order

  1. Prepare product optionsIn Shopify admin, confirm products have useful option names, option values, variants, availability, variant media, and saved swatch data where visual swatches should appear.
  2. Set global Variant pickersUse Theme settings > Variant pickers for text option colors, selected states, button sizing, underline behavior, and dropdown appearance.
  3. Set global SwatchesUse Theme settings > Swatches for variant image behavior, sold-out indicators, swatch dimensions, shape, borders, and gap.
  4. Configure product-card swatchesOn collection, search, recommendation, and featured product-card surfaces, use the Product swatches block for card-level style, alignment, and padding.
  5. Configure the Product page pickerOn the Product template or Featured product section, use the Variant picker block for underline, buttons, dropdowns, labels, swatches, spacing, and padding.
  6. Preview real variant statesTest available, unavailable, sold-out, image-backed, color-backed, long-label, and mobile states before publishing.

Ownership Model

LayerOwns
Shopify product dataOption names, option values, variants, availability, saved swatch color/image data, variant media, and variant URLs.
Theme settings > Variant pickersText option colors, selected state colors, text option size, button style, underline style, and dropdown appearance.
Theme settings > SwatchesVariant image display, sold-out indicator, swatch width, height, radius, border, border opacity, and gap.
Product swatches blockProduct-card swatch style, card-level swatch dimensions, alignment, mobile alignment, and padding.
Variant picker blockProduct form picker mode, labels, swatches toggle, dropdown overrides, option gap, local text option sizing, underline swatch overrides, and padding.

Use global settings when the decision should apply across the theme. Use block settings when one product-card surface or one product form needs a different layout.

Prepare Product Data

Variant pickers and swatches depend on the product, not just the theme settings.

In Shopify admin, open the product and confirm the option structure before you tune the theme. The example below has a Color option with Brown and Black values, a Size option with S, M, L, and XL values, grouped variant rows, product media for each color family, and availability shown at the variant level.

Shopify admin product page showing media, product organization, Color and Size variant options, and grouped Color variants for a jacket product.
Product Admin is the source of truth for option names, option values, variants, media, and availability. Theme settings style this data, but they do not create swatch-ready option values by themselves.

Use this admin check before troubleshooting theme settings:

  • Option names decide what the customer sees as groups such as Color and Size.
  • Option values decide which swatches, buttons, or dropdown choices can render.
  • Variant media gives each color family a representative image when the theme is allowed to use variant images.
  • Availability decides which combinations are selectable, unavailable, or sold out.
  • Saved swatch data still needs to exist on the Shopify option value before Fit Check can render a true visual swatch.
Product dataWhy it matters
Option namesDrives labels such as Color, Size, Fit, Waist, or Length.
Option valuesDrives buttons, dropdown choices, swatch labels, and URLs.
Saved swatch dataLets Fit Check render a visual swatch for a product option value.
Variant mediaCan become the swatch image when Variant images is enabled and the option value is already swatch-eligible.
AvailabilityControls disabled and sold-out treatment for product option combinations.
Variant linksLets product links open with a specific variant or option-value state selected.

Use clear option names. For example, use Color for visual swatches and Size for text buttons. Avoid using a visual swatch for product data that customers need to read as text.

Style Global Variant Pickers

Open Theme settings > Variant pickers before tuning individual blocks. These controls set the global text option and dropdown system used by Product page forms and product-card variant controls.

Fit Check theme editor showing Variant pickers Theme settings with Variant colors and Selected variants controls.
Variant pickers starts with base and selected state colors for text options and dropdown styling.
Fit Check theme editor showing Variant pickers Theme settings with text option, button, underline, and dropdown appearance controls.
Use text option style, Button style, Underline style, and Dropdown appearance to set the global treatment for non-image variant choices.

Use global Variant pickers settings for:

AreaUse it for
Variant colorsDefault background, text, border, and hover colors.
Selected variantsSelected background, text, border, and selected hover colors.
Text option styleBase font size and minimum button dimensions for size, fit, length, and similar text values.
Button styleButton border, radius, selected outline, and fit/fill width behavior.
Underline styleGlobal underline color, thickness, and offset.
Dropdown appearanceDropdown background, text, and border colors.

Style Global Swatches

Open Theme settings > Swatches for visual swatch behavior. This controls the shared swatch geometry and sold-out treatment used wherever swatches render.

Fit Check theme editor showing Swatches Theme settings with Variant images, sold-out indicator, size, radius, border, opacity, and gap controls.
Swatches owns visual swatch behavior. Variant images uses representative variant media for swatch-eligible option values before saved swatch images or colors.
SettingUse it for
Variant imagesUse representative variant media for swatch-eligible option values when variant media is available.
Sold out indicatorChoose how unavailable swatches are marked.
Width and heightSet the global visual swatch size.
Corner radiusChoose round, soft, or square swatches.
Border and border thicknessKeep light swatches visible on light backgrounds.
Border opacityTune how quiet or strong the swatch edge feels.
Swatch gapSet spacing between swatches.

Configure Product-Card Swatches

Use the Product swatches block inside Product card blocks on collection, search, recommendation, complementary product, Featured grid, and Featured carousel surfaces.

Fit Check theme editor showing a Collection page Product swatches block selected with swatches visible under product cards.
Product-card swatches have their own block-level style, dimensions, alignment, mobile alignment, and padding so listing surfaces can be tuned independently from the Product page picker.
Product swatches settingUse it for
Hide single swatchHide the swatch row when only one swatch value would appear.
StyleChoose Underline or Buttons for the card swatch treatment.
Customize swatch styleOverride card-level width, height, radius, and gap.
AlignmentAlign swatches left, center, or right on desktop.
Alignment (mobile)Keep mobile card rows aligned independently from desktop.
PaddingAdd space around the swatch row inside the product card.

If a product has no saved swatch data for an option, the Product swatches block has no visual swatch row to render for that option. Check the product data before assuming the block is misconfigured.

Configure The Product Page Variant Picker

Use the Variant picker block inside Product details or Featured product forms. This block controls how the customer chooses options before adding to cart.

Fit Check theme editor showing the Product page Variant picker block selected with Color swatches and Size text options visible.
The Variant picker block owns the Product page picker layout, labels, swatches toggle, option gap, local sizing overrides, underline swatch overrides, and padding.
Variant picker settingUse it for
StyleChoose Underline, Buttons, or Dropdowns.
AlignmentAlign option groups inside the product form.
SwatchesShow visual swatches for swatch-eligible option values.
Hide variant labelsHide visible labels such as Color or Size while preserving accessible option names.
Option name label typographyStyle the option labels when labels remain visible.
Vertical gapSpace option groups such as Color and Size.
Text option styleOverride text option sizing for the current block.
Underline styleOverride underline-mode swatch size and underline treatment for this block.
PaddingSpace the picker relative to title, price, quantity, and buy buttons.

Use Dropdowns when the option list is long. Use Buttons when text options need clear tap targets. Use Underline when the product form should stay compact and visual.

Publish Checklist

StateWhat to confirm
Swatch dataColor option values with visual swatches have saved Shopify swatch data.
Variant imagesWhen Variant images is enabled, image-backed swatches show the expected product media.
Text optionsSize, fit, length, and other text values remain readable and tap-friendly.
Unavailable valuesSold-out and unavailable option states match the global sold-out indicator setting.
Product cardsCollection/search/recommendation cards show swatches without crowding title, price, badges, or quick add.
Product pageVariant selection updates media, price, availability, pickup, selling plans, and add-to-cart state.
MobileSwatches and text options stay readable, tappable, and aligned on narrow screens.
Long labelsValues such as Extra long, Washed black, or Limited edition do not overflow.

Shopify Behavior

Shopify product variants are combinations of product options. Shopify recommends presenting each product option separately, then updating product media and price when customers choose a new variant. Product option values expose availability, saved swatch data, and associated variant data to the theme.

References: