Look

Shows the colors a product comes in on its card, as small dots or swatches, with a count for the rest.

For Purplish 1.3.3. Works on block themes.

Docs menu

Where to find it

Open the template with your product cards, like Appearance, Editor, Templates, Product Catalog. Add a Color Dots block inside the Product Template of a Product Collection block, from the Purplish group of the block inserter. Select it, then pick a Look, How many to show and Show a single color in the Colors panel of the block sidebar.

The Colors panel on a Color Dots block, with Look set to Dots and How many to show set to 4.

The Colors panel on the Color Dots block.

The choices

Look starts on Dots.

ChoiceWhat it does
Dots DefaultSmall dots in a single line.
SwatchesBigger swatches that wrap onto more lines, with a ring on hover.

How many to show:

ChoiceWhat it does
1 to 12The rest show as a count, such as +3. It starts on 4.

Show a single color:

ChoiceWhat it does
Off DefaultProducts that come in one color show no dots.
OnThey show their one dot.

Good to know

Where the colors come from

  • On a variable product, Purplish reads the color attribute: the one set to Color swatches, or else one named Color. Each color gets a dot, in the order of your variations.
  • A dot takes the swatch color of its term, or else the Page color of a variation in that color.
  • A variable product with no color attribute gets one dot for each page color. A simple product gets its own page color.
  • Hidden variations get no dot, and neither do sold-out colors when your store hides out-of-stock products.
  • The block's font size sets the dot size.

Still stuck? Ask in the support forum.