SfSkills Domains Docs GitHub

Home / admin / commerce-catalog-strategy

commerce-catalog-strategy

Use this skill when designing a product catalog taxonomy, planning attribute strategy, or determining search and navigation structure for a B2B or B2C/D2C Commerce store. Triggers on: taxonomy design questions, attribute planning, search index strategy, category navigation structure, or merchandising hierarchy decisions. NOT for wiring the catalog itself — WebStoreCatalog, entitlement policies, product assignment — use admin/commerce-product-catalog. NOT for configuring searchable or facetable attributes, sort rules and index rebuilds — use apex/commerce-search-customization.

Open the skill folder on GitHub


Commerce Catalog Strategy

This skill activates when a practitioner needs to design — not configure — a product catalog for Salesforce B2B or B2C/D2C Commerce. It covers taxonomy design, attribute planning, search index strategy, storefront navigation structure, and merchandising hierarchy. For hands-on configuration tasks (creating WebStoreCatalog records, assigning products to categories, configuring entitlement policies), use the companion skill admin/commerce-product-catalog.


Before Starting

Gather this context before working on anything in this domain:


Core Concepts

Understanding these four concepts is mandatory before making any taxonomy or attribute recommendation.

Product Catalog vs. Storefront Catalog

Salesforce Commerce uses two distinct catalog constructs that serve different purposes:

Design mistake: planning the storefront navigation hierarchy first and then trying to force it into the product catalog. The product catalog taxonomy must be designed for system-of-record integrity and reuse across storefronts. The storefront catalog is a filtered, ordered view layered on top.

Search Index Architecture and the 50-Field Limit

D2C Commerce (and Salesforce B2C Commerce) indexes product attributes for search using a flat field mapping. The platform supports a maximum of 50 searchable fields per product. This limit applies across all attributes, custom fields, and standard fields that are marked as searchable.

Key implications for taxonomy and attribute strategy:

Full-Token Search and Naming Conventions

Commerce search performs full-token matching only. There is no prefix search (typing "cab" will not return "cabinet") and no infix/substring matching. This is a platform constraint, not a configuration option.

Practical impact on attribute and taxonomy design:

Taxonomy Depth, Breadth, and Category Assignment

A well-designed taxonomy balances navigability with maintainability:


Common Patterns

Attribute Budget Planning Before Data Migration

When to use: When migrating products from a legacy PIM, ERP, or spreadsheet into Commerce and the source system has many attributes per product.

How it works:

  1. Export the full attribute list from the source system.
  2. Classify each attribute as: searchable, filterable-only, display-only, or internal (not exposed to storefront).
  3. Count searchable candidates. If count exceeds 50, work with stakeholders to de-prioritize lower-value searchable fields.
  4. Document the classification in the catalog strategy document before any product import is attempted.
  5. Use the ProductAttribute and ProductAttributeSet objects to model the agreed attribute structure.

Why not the alternative: Waiting until post-migration to audit searchable fields means rework at scale. Changing a field from searchable to non-searchable after products are imported requires a full re-index, which is time-consuming for large catalogs.

Two-Layer Taxonomy Design

When to use: When a single storefront needs to present different navigation structures (e.g., by industry, by product type, or by buyer persona) while all products live in one product catalog.

How it works:

  1. Design the product catalog taxonomy for system-of-record accuracy: logical category hierarchy based on product nature, not buyer intent.
  2. Design the storefront catalog as a curated view: select which product catalog categories to expose, rename them for buyer-facing vocabulary, and set their display order.
  3. Use separate category records in the storefront catalog that map back to product catalog categories — do not try to serve two navigation intents with one taxonomy.

Why not the alternative: Building a single flat taxonomy that tries to serve both system-of-record integrity and multiple storefront navigation styles creates a category hierarchy that is too broad, hard to maintain, and resistant to change when the storefront UX evolves.


Decision Guidance

SituationRecommended ApproachReason
Attribute count in source system exceeds 50Classify attributes into searchable / filterable / display-only tiers; reduce searchable to ≤50Exceeding 50 searchable fields breaks search index rebuild
Multiple storefronts need different navigationDesign product catalog taxonomy for system-of-record; create separate storefront catalogs per siteStorefront catalog is a view layer; product catalog is stable record of truth
Buyers search by partial term or code fragmentAdd a dedicated full-name searchable field; document the token-matching constraintFull-token-only search means partial inputs return no results
Category hierarchy is deeper than 4 levelsFlatten intermediate levels; use faceted filtering to compensateDeep hierarchies degrade navigation UX and complicate storefront catalog maintenance
Product belongs to multiple logical categoriesAllow multi-category assignment in product catalog; manage storefront placement separatelyProducts can span categories at the product catalog level without storefront navigation conflict
Migrating from legacy PIM with inconsistent namingNormalize attribute values to buyer vocabulary during migration; do not import raw ERP codesFull-token search makes raw codes unsearchable unless buyers know the exact string

Step-by-step instructions for an AI agent or practitioner working on this task:

  1. Identify store type and catalog scope. Confirm whether this is B2B, B2C, or D2C. Identify whether there are multiple storefronts sharing a single product catalog. Collect the estimated product count and number of distinct product types.
  2. Audit existing or planned attributes. List all attributes, custom fields, and standard fields that stakeholders want buyers to search or filter by. Classify each as: searchable, filterable-only, display-only, or internal. Confirm the searchable count is ≤50 before proceeding.
  3. Design the product catalog taxonomy. Define the category hierarchy with a maximum of 3–4 levels. Ensure category names reflect product nature (system-of-record intent), not buyer navigation intent. Verify each leaf category is specific enough to support faceted filtering.
  4. Design storefront catalog navigation. Map product catalog categories to the storefront catalog structure. Rename categories using buyer vocabulary. Define display order and which categories are visible on the storefront. If multiple storefronts exist, design a storefront catalog for each separately.
  5. Document attribute naming for search. Identify any attributes that use codes, abbreviations, or internal terminology. Decide whether to add a parallel descriptive field or normalize values for buyer-facing vocabulary. Document this decision in the catalog strategy artifact.
  6. Validate against platform limits. Run a final count of searchable fields. Confirm taxonomy depth. Confirm that no category hierarchy design decisions have been baked into the product catalog that should belong in the storefront catalog.
  7. Hand off to configuration. Produce the catalog strategy document (taxonomy diagram, attribute classification table, storefront navigation plan) and transfer to the configuration workstream using the admin/commerce-product-catalog skill.

Review Checklist

Run through these before marking work in this area complete:


Salesforce-Specific Gotchas

Non-obvious platform behaviors that cause real production problems:

  1. Exceeding 50 searchable fields fails silently — When the searchable field count exceeds 50, the next search index rebuild job completes without a user-visible error but returns stale or incomplete results. Buyers see no error; the failure is logged only in the index job history. By the time the symptom is noticed, the catalog may have grown significantly beyond the limit.
  2. Product catalog taxonomy changes do not automatically reflect in storefront catalog — Modifying a category in the product catalog (renaming, restructuring) does not propagate to the storefront catalog. Storefront catalog records must be updated separately. Teams that design these as one object are surprised when navigation breaks after a product catalog reorganization.
  3. Full-token search cannot be made prefix-aware through configuration — There is no admin setting or search configuration option that enables prefix or infix matching. This is a platform-level constraint. Workarounds require denormalizing data (adding extra searchable fields with expanded values), not configuration changes.

Output Artifacts

ArtifactDescription
Catalog Strategy DocumentTaxonomy diagram, attribute classification table, searchable field count, and storefront catalog navigation plan
Attribute Classification TableSpreadsheet mapping each attribute to its role: searchable, filterable, display-only, or internal
Storefront Catalog Navigation PlanCategory tree for each storefront with buyer-facing names, display order, and product catalog category mappings

Package files