Jump to content

Add color swatches on store collection page

Recommended Posts

Is there a way to add color swatches under applicable products on a store collection page?  

For example, I have golf shirt products that come in multiple colors (black, white, red, etc.).  I would like a circle with each of these colors below the product.  Please note that not all products in my store collection have variants / multiple colors.

This URL provides an example.  I found it on a "Best Squarespace Design" list, so it seems doable.

https://bembien.com/collections/handbags-tote

Thanks in advance.

 

Link to comment
11 hours ago, Ineedsqsphelp said:

Is there a way to add color swatches under applicable products on a store collection page?  

The URL you have quoted is a Shopify site, not Squarespace:

image.thumb.png.1ef9caec5d4e070835682110b0d8b38d.png

The colour swatch feature is not available on Squarespace. The visual element (showing colour swatches) could probably be coded, but they wouldn't be interactive (the image wouldn't change when hovering over them).

If you'd like to write code that would add swatches to the Product List Page, the first step would be to add some 'tags' to some of the products to indicate the colour. For example "color-red" or "color-green". The colour swatches would also need to be added to your asset library as images with similar filenames (for example "color-red.jpg") so they can be used as the swatches. The code could then look for the tags and add the appropriate swatch(es). If you'd like help with the code, we'll need a working link to the product page on your website.

I hope this helps to get you started.

Did this help? Please give feedback by clicking an icon below  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
  • 9 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.