Skip to Content
DocumentationBlocksVariant picker

Variant Picker Block

The Variant picker block lets customers choose product options such as color, size, fit, length, or material. It appears in product forms, including the Product template and Featured product section.

Use Variant Pickers and Swatches when you need the full setup workflow across Shopify product data, global Variant picker styling, global Swatches behavior, product-card swatches, and Product page picker verification.

Setup Order

  1. Prepare product optionsIn Shopify Admin, confirm each product has the option names and variants you expect customers to choose.
  2. Open the product surfaceIn the theme editor, open the Product template or Featured product section that contains the product form.
  3. Select the picker modeChoose the Variant picker block and set the visual style: underline, buttons, or dropdowns.
  4. Review swatchesIf option values use color or image swatches, confirm global Swatches settings and the block-specific underline swatch controls.
  5. Test purchase statesSelect available, unavailable, sale, and sold-out variants where those states exist, then confirm price, media, and buttons update.

Where It Appears

SurfaceUse
Product templatePrimary product purchase flow.
Featured productAddable product form on editorial or campaign pages.
Quick add modalUsed indirectly when a product card needs variant selection before adding to cart.

Key Settings

Setting groupWhat to use it for
StyleChoose underline, button, or dropdown presentation for option values.
Mobile styleKeep a compact mobile picker when desktop uses a wider layout.
Hide labelsVisually hide option labels such as Color or Size while keeping them available to assistive technology.
Option name label typographyAdjust the labels that identify each product option.
Text option styleChange text option button sizing when size, fit, or length values need more room.
Underline styleAdjust selected underline color, thickness, offset, and swatch sizing in underline mode.
Dropdown appearanceOverride dropdown background, border, text color, height, and radius when the inherited global dropdown style is not enough.
PaddingSpace the picker relative to title, price, quantity, and buy buttons.

Product Data Checklist

DataWhy it matters
Option namesDrives visible labels such as Color, Size, or Waist.
Option valuesDrives buttons, dropdown choices, and swatch labels.
Variant availabilityControls disabled and sold-out states.
Variant mediaUpdates product media when a selected variant has specific media.
Swatch colors or imagesPowers visual swatches where Shopify product data supports them.

QA Checklist

StateWhat to confirm
Default variantThe first selected option state matches the shown price, media, and availability.
Variant linkA URL with a selected variant opens with that variant reflected in the picker.
Unavailable combinationThe customer can see the requested option state but cannot add an unavailable variant to cart.
Sold out valueSold-out indicators match global Swatches settings.
Dropdown modeDropdown text, border, and background remain legible on desktop and mobile.
Long option valuesValues such as Extra long inseam or Limited edition color do not overflow.