Values of a product attribute

Each attribute can have a number of values. The variations of a product are created on the basis of these values. For example, if you have an attribute named Size, its values will be similar to S, M, L and XL. If a product can relate to this characteristic, a variation for each of the values can be created.

For more information about variations, see the For developers: Product variations.

For more information about attributes, see the For developers: Product attributes section.

The attribute values are represented by the Telerik.Sitefinity.Ecommerce.Catalog.Model.ProductAttributeValue class. The class exposes the following specific properties:

  • Id
    Gets or sets the unique ID of the attribute value.
  • Name
    Gets or sets the programmatic name of the attribute value.
  • Title
    Gets or sets the title of the attribute value.
  • Description
    Gets or sets the description of the attribute value.
  • IsActive
    Indicates whether the attribute value is active and can be used.
  • Parent
    Gets or sets the attribute that the attribute value belongs to.

For more information about the different actions involving attribute values, see the examples in the section below.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?