Salesforce B2C Commerce 23.6 > Merchandising Your Site > Image Management

Annotate Images

You can explicitly annotate each image assignment with a combination of relative image path, view type or variation product, and a localizable alt description and image title.

Attribute Markers

Salesforce B2C Commerce supports the following attribute markers:

Marker Description
${productname} The name of the product or variation in current locale.
${variationvalue} The display value of the related variation attribute in current locale. If display value is undefined, it is the value itself.
${viewtype} The viewtype itself.

Here are some sample rules:

"${productname}"
"${productname} - Large"
"${productname} - ${viewtype}"

When the customer hovers over an image, text such as the following appears:

workboots - mini

Annotation Processing

The annotation lookup process uses the following fallback mechanism:

Step B2C Commerce...
The process begins Tries to get an explicitly defined annotation for the current request locale, for example, "de_DE".
The annotation is unavailable Tries to get an explicitly defined annotation for language, for example, "de".
The annotation is unavailable Tries to get an explicitly defined annotation for lead locale, for example, "default".
No explicitly defined annotation is available Uses the default rule pattern.
No default rule pattern is defined Returns null.
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.