Image Variants
There are four standard view types: large, medium, small, and swatch. You can represent each product with multiple images per view type.
You define variation attributes for base products by navigating to site > Merchant Tools > Products and Catalogs > Products > product > Variations tab.
You define image settings for the storefront catalog by navigating to site > Products and Catalogs > Catalogs > catalog > Edit > Image Settings tab.
See Configuring Variation Attributes for Image Assignment.
You use the product variation attribute value to identify the images for a variation product. For example, you can use "red" to identify the images of the "red variation product.
Note: Images can only be assigned to the base product, not
to the variation product itself. The variation instance can retrieve images.
Salesforce B2C Commerce automatically searches for the matching product variation attribute value. For
example, search using the color code.