LogoLogo
HomeTheme DocsSupportTry Primavera
  • Primavera Theme Docs
  • Guides
    • Quick start
    • Accessibility
    • SEO
    • How to set up the same homepage sections as the demo stores
    • How to add a mega menu
    • How to add a sidebar menu promotion
    • How to add product swatches
    • How to add a product subtitle/cutline
    • How to add product badges
    • How to add product recommendations
    • How to add an external video
    • How do I enable right-to-left support
  • Theme settings
    • Spacing
    • Appearance
    • Logo
    • Colors
    • Typography
    • Product card
    • Mini product
    • Collection card
    • Blog post card
    • Search behavaior
    • Social media
    • Currency format
    • Cart
    • Optimizations
    • Custom CSS
  • Sections
    • Announcement bar
    • Back to top
    • Banner grid
    • Before/after image
    • Bottom bar
    • Blog posts
    • Cart drawer
    • Collapsible content
    • Collection list
    • Contact form
    • Countdown timer
    • Custom liquid
    • External video
    • Featured collection
    • Featured post
    • Featured product
    • Footer
    • Header
    • Image banner
    • Image hotspot
    • Image with text
    • Logo list
    • Media grid
    • Multicolumn
    • Newsletter
    • Newsletter popup
    • Rich text
    • Rich text columns
    • Scrolling content
    • Search modal
    • Section header
    • Shoppable banner
    • Sidebar menu
    • Slideshow
    • Split banner
    • Split card
    • Stacked images with text
    • Testimonials
    • Video banner
    • Video with text
  • Blocks
    • Badges
    • Buttons
    • Card
    • Collapsible
    • Heading
    • Image
    • Liquid
    • Mini product
    • Page
    • Product
    • Text
    • Video
  • Templates
    • 404
    • Account
    • Blog
    • Blog post
    • Cart page
    • Collection
    • Collection list
    • Gift card
    • Home page
    • Product
    • Password
    • Search
  • FAQs
    • Why isn't my video autoplaying?
    • How do I edit the default theme content?
    • Where do newsletter signups go?
    • Why are my images cropped?
    • How can I change the meta color?
  • Advanced
    • Customizing code
    • JavaScript events
    • How to refresh the cart using JavaScript
    • Use a custom font
  • Contact support
Powered by GitBook
On this page
  1. Guides

How to add product swatches

A step-by-step guide to adding native swatches in Primavera.

PreviousHow to add a sidebar menu promotionNextHow to add a product subtitle/cutline

Last updated 16 hours ago

This guide takes you through adding color swatches on the product template, product cards and filters.

  • Configure products:

    • Ensure you have selected a Category

    • Variants > Add options like size or color

    • Select Color from the recommended options (if it's not suggested, click on the Connect metafield icon and select Color)

    • Click into the Add color field and select the colors you'd like to display, then click on Done and Save

    • Optional: To edit the swatch, for example to add an image like the metallic pink in the screenshot below, click on the color and select Edit. In the next screen, you'll be able to choose the base color (if you want it grouped under a parent color in filters) and upload an optional image.

  • Enable swatches on product cards (these should be enabled by default):

    • Go to Theme settings > Product cards

    • Ensure Variants > Display style is set to either Always visible or On hover/focus

    • Ensure Variants > Color display style is set to List

The theme checks for spellings "color" or "colour".

  • Optional: Check Theme settings > Appearance > Forms > Swatch style to choose a swatch shape: circle, rectangle or square

    • In the app, go to Filters > Add filter

    • Select Source: Color

    • Hit Save

You should now see the swatches appear on product pages and collection pages.

Troubleshooting

  • Ensure the product has a Category selected

  • Ensure the color variant is connected to the Color metafield (or whichever category metafield you're using)

  • If the swatches aren't displaying, try disconnecting and reconnecting the variant to the Color category metafield

If you use a different word/spelling for "color" you can add it in to the Product variants color list.

Alternatively, use the to add other variant types, e.g. "Metal color".

in your collection template(s) to ensure color filters appear

On your product template(s), ensure the Variant picker block has been added and that the Swatch setting is set to Default

Install the app. Once installed:

If you want to display the image instead of the color in filters, click on Manage values and check the Use images when available option:

Optional: Review your values, e.g. group them together, or opt to create the values manually instead of automatically, or edit the values (by editing the values you can also select an image for your swatch, like we did for eyeshadow palettes on the ).

Check that your color variant is spelled as expected: "color" or "colour" in English. If not, you can add your spelling in > Product variants color list.

Consult Shopify's

Check an updated copy of Shopify's theme to see if the swatches are appearing there.

If they are appearing on Dawn, this may be a Primavera configuration issue so kindly check the above steps or so we can guide you.

If they're not appearing on Dawn, this is likely a Shopify configuration issue, unrelated to Primavera, and we recommend reaching out to .

Default theme content
Enable filtering
Shopify Search & Discovery
Gloss demo store
Default theme content
documentation
Dawn
get in touch with us
Shopify support
Screenshot of variant display style and color display style
Check your Product card settings in Theme settings
Color swatches on the
Primavera Gloss demo store
Other display style