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.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?