Display only media related to chosen variant
Show the photos, videos, and models of the selected color in the product gallery. Each file's alt text ends with that color's option value in parentheses.
Black / S and Black / M share one set of files, because both variants use the color Black. Size and every other option leave the gallery unchanged.

The same switch is on the Quick view template and on a Featured product section. Turn it on for each template that uses the gallery.
Set the color option
Avante needs to know which product option holds the color. If the option is named Color or Colour, there is nothing to do — the theme finds it on its own. For any other name, open Theme settings → Product card → Color labels and list the names separated by commas: Color, Shade, Finish. The same field also drives the color swatches on product cards.
Label each media file
Open Shopify Admin → Products → [your product] → Media and edit each file on its own. In the alt text, end with the color’s option value in parentheses: a black photo might read Front view (Black), a blue one On model (Ocean Blue). The value in parentheses is what shoppers see on the swatch.


Photos of packaging, the brand, or the product as a whole apply to every color. Leave the parentheses out of their alt text, and turn on Show also general product media in the same section. With that setting off, those files stay hidden.
Common issues
Last updated
Was this helpful?

