Ritual Theme: Product Page Media Help

Hi folks!

I am using the Ritual theme. The issue I am having is I have a shoe brand, and one of the variants for the shoe is “color”. However, on the ritual product page, ALL my media is showing despite having selected a particularly color. If I select black, I only want. to see the media for the black shoe, etc. Does anyone know how to fix this? I am able to do it so that the first picture shows the correct variant media, but still below it is media for everything.

I will

Screenshot 2026-04-14 at 12.41.47 PM

add that there appears to be a “hide unselected variant media” toggle in the product media section but it does not appear to do anything.

I was able to resolve this using the app Rubrik Variant Images.

Hi @krismacgillivray

You don’t need to use an app for this. It can be resolved with custom code. Please share your store URL, and I will review it and provide you with an update.

Best regards,
Devcoder :laptop: