What's your biggest current challenge? Have your say in Community Polls along the right column.

Hi I would like to add thumbnails of the variants of each product in the collections page (DAWN)

Hi I would like to add thumbnails of the variants of each product in the collections page (DAWN)

ilotz
Visitor
1 0 1

Here is an example:

 

https://yukon-outfitters.com/collections/hard-coolers

 

ilotz_0-1730919382231.png

can anyone help?

 

thanks!

Replies 2 (2)

Digiteon
Excursionist
16 2 1

To add variant thumbnails to the collection page in Dawn, you'll need to modify the theme's collection template. Here’s a short guide:

  1. Locate the Code: Go to Online Store > Themes > Edit code and open the main-collection-product-grid.liquid file (or a similar product grid file depending on your setup).

  2. Add Variant Images: Inside the product loop, include code to fetch and display each variant's image as a thumbnail under the main product image.

  3. CSS Styling: Add CSS to style the variant thumbnails for proper alignment and visibility.

  4. JavaScript (Optional): Use JavaScript to switch the main image when a thumbnail is clicked.

This setup will display thumbnails of product variants directly on the collection page.

Made4uo-Ribe
Shopify Partner
9159 2184 2700

Hi @ilotz 

This is doable, but it requires custom code. See the sample below.

Made4uoRibe_0-1730924193754.png

Let us know if your interested. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.