Craftshift logo

How to Group Product Variant Images on Shopify Store?

The Problem

Grouping variant images is a classic old problem on Shopify. Let’s say you have a product with multiple colors and 3-5 images per variant, and you want to display only the images for the selected variant (color). By default, this isn’t possible on Shopify because you can’t assign multiple images to variants. You can attach only a single image to each variant.

Solution 1: Custom coding

If you are a developer, you can solve this problem with custom code, but it is important to write code in a way that makes it easy to upgrade your theme later. It is very common for store owners to make modifications to their theme code, only to find later that they can’t upgrade their theme without losing those changes.

Solution 2: Variant Images App

If you are not a developer, the simplest solution is to install the variant image app on your store. We recommend using the Rubik Variant Images & Swatch app, as it is the best variant image app according to this post.

Watch this tutorial to learn how to install and set up the Rubik app.

Our Shopify Apps

Smart Bulk Image Upload

Bulk upload product images from Google Drive & save time!

Rubik Variant Image & Swatch

Show only relevant variant images on your product pages.

Bulk Delete Products app icon

CS – Bulk Delete Products

Bulk delete products or variants. Delete product images in bulk.

CS – Export Product Images

Bulk export product images by vendor, collection or status

Blog Posts