Working with product attributes
Based on product and category attributes in your data feeds, a Sitecore integration specialist has created attribute variables to represent statistical values, such as widget clicks and views, as well as product attributes such as color, SKU, review ratings, and so on.
After the initial setup, you might want to add a new product attribute or make an existing attribute usable for a specific feature. For example, you might want to make an attribute available as a sorting option or for URL generation. These tasks can be completed in the Domain Settings section of the Administration page of the Customer Engagement Console (CEC).
Viewing current attributes
You can view current attributes on the Attributes tab of the Domain Settings section of the Administration page. The attributes are displayed alphabetically by display name in a tabular list. The list is searchable by Display Name and Attribute Name using the search bar at the top.
The search functionality is useful for finding information about existing attributes. For example, you can see at a glance an attribute's name, data type, whether it is returned in API responses, and so on. It is also useful for finding an existing attribute in order to mark it as available for more features.
Attribute settings
There are many different settings that you can customize when working with attributes. These settings can be set when creating a new attribute.
The attribute settings include the following:
-
Entity - the type of entity the attribute is associated with. Currently, the only entity displayed is Product.
-
Display Name - a descriptive name for the attribute that is displayed in the UI.
-
Attribute Name - a name for the attribute to be used in data feeds. This name must be alphanumeric with no spaces. Separate words with an underscore (_).
-
Attribute Type - the type of attribute, which can be Standard, Identifier, or Join. Most attributes are classified as Standard.
-
Placement - placement of the attribute. The options available for this depend on your implementation.
-
Data Type - data type for the attribute. After you select the data type, you can optionally add data validation options such as minimum and maximum values for integers and floats, format for strings, and so on.
-
Mark as - there are several options under Mark as that you are unlikely to ever need. You might check the Aggregation box if the attribute is the sum, average, or another type of aggregation of other attributes.
-
Properties - a variety of properties that can be switched on for the attribute. Here, you can choose to have the attribute returned in the API response, make it available for rules and hard filters, make it usable for URL generation, and so on. Depending on the data type, some of these options might be unavailable and are greyed out.