Product attribute

On this page 7

A product attribute is a named, typed property of a catalog item that describes one measurable or categorical characteristic of a product, such as color, size, material, voltage or weight. In e-commerce product catalogs, attributes turn free-form descriptions into structured data that a store can filter, compare, translate, validate and send to marketplaces and advertising channels.

Every attribute consists of a name, a data type and an allowed set of values, and it is assigned to products through an attribute set or product template that depends on the category. Attributes are the raw material for faceted navigation, product variants, product feeds and on-site search, so their design quietly determines how well the whole catalog performs.

How a product attribute is modeled

A product attribute is modeled as a definition plus assigned values: the definition lives once in the catalog schema, while each product stores its own value for it. The definition sets the attribute code used by systems, the human-readable label, the data type, the unit of measure, whether the field is required, and whether it may hold one value or several.

Most platforms group definitions into attribute sets, families or product types. A laptop template might require screen size, processor, memory and storage, while a T-shirt template requires size, color, fit and fabric composition. This category-specific schema keeps irrelevant fields away from editors and makes completeness measurable per category.

The table below lists the core properties of an attribute definition and what each one controls in day-to-day catalog work.

PropertyTypical valuesWhat it controls
Attribute codecolor, screen_size_inStable key for integrations and feeds
Data typeText, number, boolean, list, dateValidation, sorting and range filters
Unit of measurecm, kg, W, mAh, inchesConversion and consistent comparison
Value listClosed option list or open textConsistency of filter values
CardinalitySingle value or multiple valuesWhether a product can list several features
ScopeGlobal, per channel, per localeTranslation and channel-specific content
Usage flagsFilterable, searchable, comparableWhere the attribute appears on the storefront
Core properties of an attribute definition

Types of product attributes

Product attributes are commonly classified by role rather than by data type, because the role decides how the attribute is used. A single catalog usually contains dozens to several hundred attribute definitions, depending on how many categories it covers and how technical the products are.

RoleExamplesMain purpose
Identifying attributesBrand, GTIN, manufacturer part numberUnique matching across systems and channels
Descriptive attributesMaterial, style, care instructionsProduct understanding and search relevance
Technical specificationsWattage, battery capacity, dimensionsComparison and compatibility checks
Variant-defining attributesSize, color, capacitySplitting a parent product into variants
Logistics attributesShipping weight, package dimensions, hazmat flagFulfillment, rates and carrier rules
Compliance attributesEnergy class, age rating, country of originLegal labeling and marketplace rules
Attribute roles in a product catalog

The most consequential distinction is between variant-defining attributes and all others. Size and color on an apparel item create separate purchasable variants, each with its own SKU, price and stock, whereas fabric composition usually stays the same across the family and is stored once on the parent product.

A product attribute is a property, not an item, a channel format or a commercial offer, and confusing these concepts leads to tangled catalog structures. The neighboring terms in product catalogs each depend on attributes in a different way.

ConceptWhat it isRelationship to attributes
Product attributeA named property with a valueThe building block of structured data
SKUA unique identifier for a stockable unitOne SKU per unique combination of variant attributes
Product variantA purchasable version of a parent productDefined by its variant attribute values
Product feedA file or stream sent to a channelMaps internal attributes to channel fields
CategoryA node in the navigation treeDecides which attribute set applies
BundlingSelling several products as one offerCombines items, but each keeps its attributes
How attributes relate to neighboring catalog terms

Attributes also differ from tags. A tag is an unstructured label with no data type or allowed values, which makes it convenient for merchandising campaigns but unreliable for filters and feeds, where precise, validated values are required.

Designing attributes for filtering, search and feeds

Good attribute design starts from how shoppers narrow their choice and what external channels demand. A filterable attribute needs a controlled vocabulary: if one product says “Navy”, another “navy blue” and a third “Dark blue”, the color facet shows three options and fails all three groups of shoppers.

  • Use closed value lists for anything shown as a filter, and normalize synonyms into one canonical value.
  • Store numbers as numeric types with a fixed unit, so a range slider can work and “15.6 in” is never stored as text.
  • Keep one fact per attribute; a field such as “size and color” cannot be filtered or mapped.
  • Separate the display label from the stored value, which allows translation without breaking integrations.
  • Map internal codes to channel taxonomies explicitly, because marketplaces and shopping ads use their own required fields.

The following decision table shows typical design choices and the reasoning behind them.

SituationRecommended choiceReason
Color shown as a filterClosed list plus a separate color familyKeeps facets short while preserving marketing names
Screen size or capacityNumeric field with one unitEnables range filters and correct sorting
Several product featuresMulti-value list attributeAllows each feature to be filtered on its own
International catalogLocale-scoped label, global codeTranslates content without duplicating the schema
Seasonal campaign labelTag or collection, not an attributeAvoids polluting the permanent schema
Practical attribute design decisions

Common pitfalls in attribute management

Most attribute problems come from schema growth without governance. Teams add a new field for every request, and after a few years the catalog holds duplicates such as “color”, “main_color” and “color_name”, each filled for a different subset of products.

SymptomLikely causeFix
Filters show near-duplicate valuesFree text instead of a value listNormalize values and lock the list
Range filter sorts “100” before “20”Numbers stored as textConvert to a numeric type with a unit
Products rejected by a marketplaceMissing required channel attributesMap fields and track completeness per channel
Editors skip important fieldsToo many optional attributesMark critical fields required per category
Variants cannot be generatedVariant attributes stored as descriptive textFlag variant-defining attributes explicitly
Symptoms, causes and fixes

A practical safeguard is an attribute completeness score per category and per channel, combined with an owner who approves new definitions. Deleting or renaming attribute codes is risky, because feeds, search indexes and integrations often reference them directly.

Stripped to the essentials

A product attribute is one labeled fact about a product, such as its color, size or weight. Think of a library card that has fixed boxes for title, author and year: because every card uses the same boxes, a librarian can sort and search the whole collection quickly.

An online store works the same way. When every product fills in the same boxes with the same kinds of answers, shoppers can tick “blue” or “size M” and see only matching items. Clean, consistent attributes are what make filters, comparisons and product listings work.

Where it is applied

A mid-sized online furniture retailer sells about 4,000 products across sofas, tables and lighting. Its shoppers complained that the color filter listed more than 60 options, including “Gray”, “gray”, “Stone gray” and “Light gray”, and that the width filter sorted incorrectly.

The catalog team introduced a closed color family list with 14 values, kept the original marketing names as a separate display attribute, and converted width, depth and height into numeric fields in centimeters. They also marked width, color family and material as required for every sofa and table.

After the cleanup, the color filter became short and predictable, range sliders for width started working, and the same normalized values were mapped into the product feed for shopping ads. The result was a catalog that shoppers could narrow quickly and that channels accepted without manual corrections.