Skip to main content
Swatch settings transform product variant options from text dropdowns into visual color swatches, creating a more engaging shopping experience. Instead of reading “Navy Blue” in a list, customers see actual color circles they can click. Well-configured swatches increase variant product engagement by 25-40% and reduce decision fatigue.

What this controls

Swatch settings determine how product variant options are displayed as visual color swatches instead of dropdown menus. This creates a more engaging shopping experience by allowing customers to see color options at a glance.
Color swatches increase engagement with variant products by 25-40% compared to text-based dropdowns, especially in fashion and home decor categories.

How it works

Sahara’s swatch system automatically converts specified variant options into clickable visual swatches. Instead of a dropdown menu showing “Red”, “Blue”, “Green”, customers see actual colored circles or squares they can click. The system works by:
  1. Option Name Matching: You specify which option name (e.g., “Color”) should display as swatches
  2. Automatic Color Detection: The theme matches variant values to built-in color definitions
  3. Visual Display: Swatches appear on product cards and product pages
  4. Custom Swatch Support: Upload custom swatch images for unique colors or patterns
Swatches work best with standardized color names. Use “Navy Blue” consistently rather than mixing “Navy”, “Navy Blue”, and “Dark Blue”.

Getting started

1

Open Theme Customizer

From Shopify admin → Online StoreThemesCustomize
2

Access swatch settings

Click Theme settings → Select Swatches
3

Specify option name

Enter the exact variant option name to display as swatches (e.g., “Color” or “Colour”)
4

Test with products

Preview products with color variants to verify swatch display
5

Optional: Add custom swatches

Upload custom swatch images in theme files for unique colors/patterns

Location

Path: Theme settings → Swatches

Settings

Swatches option name: Enter the exact name of the product option that should display as color swatches.Default: ColorCommon values:
  • Color (English)
  • Colour (British English)
  • Renk (Turkish)
  • Farbe (German)
  • Couleur (French)
The option name is case-sensitive and must match exactly how it appears in your product variants. If some products use “color” and others use “Color”, swatches will only work for one variant.
How it works:
  • The theme searches your products for this exact option name
  • When found, it converts that option’s values into visual swatches
  • Other variant options continue displaying as dropdowns or buttons

Use cases

Fashion & Apparel

Display clothing colors as swatches on product cards. Customers see all color options without opening product pages.Example: T-shirt available in Black, White, Navy, Red → 4 circular swatches

Home Decor

Show furniture and home goods in different fabric colors or finishes.Example: Sofa in Beige, Gray, Navy → 3 swatches showing fabric colors

Beauty & Cosmetics

Display makeup colors or product shades visually for easier selection.Example: Lipstick in nude, pink, red → Color-accurate swatches

Pattern Variants

Use custom swatch images for patterns, textures, or complex materials.Example: Rug in Striped, Geometric, Floral → Custom pattern images

Best practices

Use consistent color naming

Standardize color names across all products. Always use “Navy Blue” instead of mixing “Navy”, “Navy Blue”, “Dark Blue” for same color. Create a color naming guide. This ensures swatches work reliably and customers can filter by color accurately.

Limit swatch count

Keep visible swatches to 5-8 colors on product cards for clarity. Show most popular colors first, use “+3 more” indicator for additional colors, full color range appears on product page. Too many swatches on cards creates visual clutter and decision paralysis.

Test swatch visibility

Ensure swatches are large enough to distinguish colors (minimum 32px diameter), have adequate spacing (8-12px gap), include border for white/light swatches on light backgrounds, and work on mobile devices (minimum 44px touch target).

Combine with variant images

For best results, pair swatches with variant-specific images. Each color variant has its own product image, clicking swatch shows that color’s image, creates “try before you buy” experience. This combination reduces returns and increases customer confidence.

Match swatch colors accurately

Swatch colors should accurately represent actual products. Use custom swatches for precise color matching, test swatches against product photos, consider color calibration across devices. Mismatched swatches lead to customer disappointment and returns.

Keep option name simple

Use single-word option names when possible. “Color” is simple and clear, “Product Color” works but is verbose, “Choose Color” is unnecessarily wordy. Short names work better in theme templates and reduce layout issues.

Common issues

Swatches not appearing? Check these common issues:
  1. Option name mismatch: Verify the exact option name in your products matches the setting (case-sensitive)
  2. Unrecognized color names: Use standard color names or add custom swatch images
  3. Cache issues: Clear browser cache or use incognito mode to see changes
  4. Product has no variants: Swatches only appear for products with the specified option
Pro tip: Create a product template specifically for swatched products. This ensures consistent display and allows custom layouts optimized for color-focused shopping.

Technical notes

  • Swatch setting applies globally to all product displays (cards, pages, quick view)
  • Multiple option names can be styled as swatches by entering comma-separated values
  • Swatch images are loaded lazily for performance optimization
  • The theme respects inventory levels - out-of-stock swatches appear grayed/crossed out
  • Swatches support accessibility with proper ARIA labels and keyboard navigation

Products

Configure overall product display and card settings

Colors

Set up theme-wide color schemes

Product Page

Customize product page layout and features