Define Attributes widget
Use this widget in a catalog entry page layout to display the defining attributes, such as color and size, of the catalog entry.This widget supports the display of attribute values either in a list or as swatch images. If the catalog entry does not have defining attributes, this widget is not rendered on the page.
Page dependency
Use this widget only in layouts for catalog entry pages. For any other page type, this widget is not rendered on the page.
Examples of widget content
Figure 1. Defining Attributes - values displayed in a listFigure 2. Defining Attributes - values displayed as swatch images
See an example layout for a product page that uses this widget.
Prerequisites for using this widget
In the Catalogs tool, the defining attributes must be:
- Set up in the attribute dictionary with the Displayable check box selected. See Creating attributes in the attribute dictionary.
- Assigned to catalog entries. See Assigning defining attributes from the attribute dictionary.
For instructions on setting up attributes to use product-specific swatch images as shown in Figure 2, see Defining product-specific swatch images.
Widget properties and content
This widget has no configurable properties other than the widget name. The content is automatically retrieved from the catalog data.
Related concepts
Widgets for Commerce Composer
Commerce Composer widget library