Skip to Content
ReferenceBlocksVariant picker

Variant picker block

Option buttons, dropdowns and color swatches for choosing a variant.

File: blocks/variant-picker.liquid

Used in: Featured product, Footer, Contact form, Product information, Content

Settings

SettingTypeOptionsDefaultNotes
ProductProduct
StyleChoiceButtons, Dropdown, Cards, ListButtonsOptions with color or image swatches always show swatches.

Cards and list

SettingTypeOptionsDefaultNotes
Option value detailsText (several lines)One per line, for example “3.5 L: Serves 2–3 | 24 cm · 4.1 kg”. The list style shows the text after | as a second line.
Featured option valueText
Featured labelTextMost popular
Low stock note thresholdSlider0–10, steps of 15Shows the units left when Shopify tracks inventory. Set to 0 to hide.
Compact chips aboveSlider4–24, steps of 18Cards for an option with more values than this show as one-line chips.
Group chips by first wordOn / offOnChips like “Round Ø60 cm” and “Square 60 × 60 cm” sort under Round and Square. Only when every group has two or more values.

Size guide

SettingTypeOptionsDefaultNotes
Link labelText
LinkLink
Option nameTextSizeThe link shows next to this option’s name.
Last updated on