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.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:- Option Name Matching: You specify which option name (e.g., “Color”) should display as swatches
- Automatic Color Detection: The theme matches variant values to built-in color definitions
- Visual Display: Swatches appear on product cards and product pages
- 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
Specify option name
Enter the exact variant option name to display as swatches (e.g., “Color” or “Colour”)
Location
Path: Theme settings → SwatchesSettings
- Swatch Option
- Color Recognition
- Custom Swatches
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 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
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
Related guides
Products
Configure overall product display and card settings
Colors
Set up theme-wide color schemes
Product Page
Customize product page layout and features