Skip to content
Home » Product vs Variant Attributes in Bloomreach Data Hub

Product vs Variant Attributes in Bloomreach Data Hub

    Product vs Variant Attributes in Bloomreach Data Hub

    Bloomreach Data Hub item collections categorize catalog data by mapping invariant parent product properties to product-level attributes while mapping unique sellable SKU traits to variant-level attributes, with Bloomreach Search prioritizing variant settings during attribute name collisions.

    How mature is your CRM setup?

    Find out in minutes with a free CRM maturity check.

    Get Your Free Check

    Differences Between Product and Variant Attributes

    Product attributes describe shared properties across all variants of a parent item, while variant attributes describe traits specific to individual sellable SKUs.

    Attributes identical across all variants should be specified at the product level; attributes that differ between SKUs must be configured at the variant level. This separation prevents data duplication and enables accurate search filtering and faceting.

    What Are Product Level Attributes in Data Hub

    Product-level attributes apply to the parent product and are inherited identically across all variants unless overridden in a variant-specific view. System attributes like category_paths, product_class, keywords, and variant_options are defined strictly at the product level.

    Custom product attributes typically include the product title, brand name, general description, care instructions, and product images shared across all SKUs. These attributes establish the broader context for product discovery and navigation.

    What Defines a Variant Item in Bloomreach Data Hub

    A variant is a sellable SKU variation of a base product, each with a unique variant_id and its own nested attributes property. Variant-level attributes include size, color, price, stock level, and variant-specific images such as swatch images.

    Each variant inherits product-level attributes by default but can override them with variant-specific values. System attributes like default_variant indicate whether a variant is the primary or default SKU for the product.

    How to Configure Product and Variant Attributes

    1. Access the Data Hub item collection schema settings

      This is where you map your raw source data to structured attributes and designate their levels.

    2. Define which attributes belong to the product level

      Attributes that apply uniformly across all variants (such as brand, category, and description) are configured here.

    3. Define which attributes belong to the variant level

      Attributes that vary between SKUs (such as size, color, price, and stock_level) are configured at this level in the schema.

    4. Validate your schema mapping by reviewing the item structure generated from your records

      Bloomreach transforms raw records into items according to your schema configuration during the next indexing job.

    5. Test the attribute visibility and behavior

      Test the attribute visibility and behavior in Bloomreach Search or the Catalogs application to confirm that product and variant attributes are indexed and facetable as intended.

    Resolving Custom Attribute Name Collision Rules

    When a custom attribute shares the exact same name at both product and variant levels, Bloomreach Search prioritizes the variant-level configuration and ignores the product-level setting. This collision behavior can break parent-level search filtering if not managed.

    The recommended approach is to use unique attribute names for independent management. For example, if you need a “material” attribute at both levels, name the product-level attribute “product_material” and the variant-level attribute “variant_material” to prevent conflicts and ensure both values are accessible to Search.

    System attributes like brand can exist at both levels, but Search evaluates the product-level brand and ignores variant-level brand values, so collisions do not apply to reserved system attributes in the same way.

    How mature is your CRM setup?

    Find out in minutes with a free CRM maturity check.

    Get Your Free Check

    Declaring Variant Options for Product Hierarchy

    The variant_options system attribute is a product-level ordered list of attribute names that define the structural hierarchy and grouping order for variants. This attribute specifies which variant attributes should be used to group, organize, and display variants in product detail pages and search results. Values should be fully qualified attribute names using the format family.attribute_name, such as system.color or main.size.

    The order of attributes in the list determines grouping priority. For example, ["system.color", "system.size"] means variants are grouped first by color, then by size within each color group. If a name is provided without a namespace qualifier and matches a system attribute name, it is assumed to reference the system attribute.

    Attribute LevelCatalog ScopeSystem Attribute ExamplesSearch and Faceting Function
    Product-Level AttributesShared across parent productcategory_paths, product_class, keywords, variant_optionsBroad categorization and parent-level filtering
    Variant-Level AttributesSpecific to individual SKUscolor, size, price, stock_level, swatch_imageGranular filters for size and color swatches; powers SKU selection

    Managing Ecommerce Product Feeds with Variants

    Product feeds from PIM or e-commerce platforms typically contain flat records with product and variant data mixed together.

    To structure this data correctly in Bloomreach Data Hub, you must transform the flat feed into a hierarchical product-variant JSON structure that separates parent product attributes from variant-specific attributes.

    1. Identify which fields in your source feed are invariant across all variants. These become product-level attributes in your schema (title, brand, category, description).
    2. Identify which fields vary by SKU. These become variant-level attributes (size, color, price, stock_level, variant image URLs).
    3. Map your source field names to Bloomreach system and custom attributes in the Data Hub schema. The schema defines how raw feed records are transformed into structured items.
    4. Configure your item collection to ingest records in the format expected by Bloomreach. The Data Hub accepts JSON records via API or file import, with each product containing a nested variants object.
    5. Run a test import of a small subset of your catalog to verify that product and variant attributes are correctly separated and indexed. Use the Catalogs application or Data Hub records view to inspect the resulting item structure.
    6. Based on test results, adjust your feed transformation rules or schema mappings. Voxwise has implemented this workflow across hundreds of product catalogs, and the most common issue is failing to flatten nested PIM attributes before ingestion, which causes variant attributes to be lost or indexed at the wrong level.
    7. Once validated, schedule your full catalog import or set up continuous API syncing to keep your Data Hub item collection synchronized with your source system.

    FAQ

    What happens if a brand attribute is defined at both product and variant levels?

    Bloomreach Search evaluates the product-level brand and ignores variant-level brand values. Unlike custom attributes, system attributes like brand do not follow collision override rules, so the variant-level brand is not used for search queries or filtering.

    How does default_variant logic work in Bloomreach Data Hub?

    The default_variant system attribute is a boolean indicator at the variant level that marks a variant as the primary or default SKU for a product. This is used to determine which variant’s attributes (such as price or image) inherit to the parent product document when no variant-specific override is specified.

    Can variant attributes be used for high-level category navigation?

    No. Category navigation is powered by product-level attributes like category_paths, which apply uniformly across all variants. Variant-level attributes such as size and color are used for granular filtering within a category, not for organizing the category structure itself.

    Do all variants require explicit variant_options declarations?

    No. The variant_options attribute is optional and used to define the display hierarchy for variant selection UI. Products without variant_options are still indexed with their variant attributes, but the grouping and priority order for variant display is not explicitly defined.

    Review Your Product Structure Today

    Audit your catalog feed schema and Data Hub attribute mapping to ensure product-level and variant-level attributes are correctly separated.

    Misaligned attribute levels cause search faceting errors and inventory tracking failures that compound as your catalog grows.

    Voxwise helps retailers and brands validate their product structure and implement corrective feed transformations to align with Bloomreach best practices.

    Tags: