Configuring Variation Attributes for Image Assignment by Catalog

Salesforce B2C Commerce's catalog image settings support multiple variation attributes. This enables you to specify images for combinations of variation attributes, for example color (red, green, blue) and fabric (leather, textile) for all new products. When you configure global catalog image settings, the nodes you specify appear automatically in a hierarchical structure. For example, if you specify color at the catalog level, when you create a new product and specify images for the product, you will see a master node plus subnodes for red, blue, and green.

  1. Select site > Products and Catalogs > Catalogs > catalog > Edit > Image Settings tab.
  2. Specify the following:
    Option Description
    Image Location Specify Internal or External. For Internal, specify the base path, for example, /your/special/images/, which points to a special folder within the catalog image directory. The initial Base Path ("/") points to the root folder of the catalog image directory. For External, specify the Http URL (required) and the Https URL.
    View Types Enter the view type names. The defaults are large, medium, small, and swatch. Click Add View Type, provide a value and click Apply to add a new view type. Clear a view type field and click Apply to remove a view type. View types must be unique per catalog.
    Variation Attribute ID Enter a variation attribute ID. When you add an ID, the attribute is used as a default grouping in the Image Manager window. For example, enter color, and the first level of the tree now contains the color values that are available for the product in the Image Manager window. The attribute IDs used here must also be assigned to the variation master product.
    Default Image Alt Enter the default alternative image text. Enter ${productname}, ${variationvalue}, ${viewtype}.
    Default Image Title Enter the default image title. Enter ${productname}, ${variationvalue}.
  3. Click Apply to save your changes.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.