Link product image to variant
1. Prepare Your Images
- Upload all product images in the Shopify product editor.
- Make sure you have a separate image for each variant (e.g., each colour).
2. Add Alt Text to Images
- In the product page, click on an image within the Media section.
- In the “Alt text” field, enter the exact variant option value (e.g., Black, White, Blue). Refer to the attached screenshot.
Your Alt text must match exactly the variant’s option name.
Example: If the variant is Navy Blue, the image alt text must also be Navy Blue.
If you want the image to appear on all variants, leave the Alt text blank.
3. Match Variants with Alt Text
- Go to your product’s Variants tab.
- Check the Option values (e.g., under Color: Black, White, Blue).
- Double check to ensure each option has a corresponding image with matching alt text.
