Sf catalog

From OrcaQubits/agentic-commerce-skills-plugins · View interactive version

Sf catalog is an AI agent skill from the GitHub repository OrcaQubits/agentic-commerce-skills-plugins. Manage Salesforce Commerce catalogs — B2C (Business Manager catalogs, categories, products, pricing books, promotions, search indexes) and B2B (Product2, Pricebook2, PricebookEntry, volume discounts, entitlements). Use when working with product data across either platform.

How to use this skill

Skill file

sf-catalog

Before Writing Code

Fetch live docs before implementing catalog features.

  1. Web-search: "Salesforce B2C Commerce Cloud catalog management documentation 2026"
  2. Web-search: "Salesforce B2B Commerce Product2 ProductCatalog documentation 2026"
  3. Web-search: "Salesforce B2C Commerce price books promotions documentation 2026"
  4. Web-search: "Salesforce B2B Commerce buyer groups entitlements 2026"
  5. Web-fetch the SFCC Business Manager catalog structure reference
  6. Web-fetch the Salesforce Product2 and Pricebook2 object reference

Conceptual Architecture

B2C Commerce Catalog Model

Master Catalog (shared across sites)
  -> Site Catalog (site-specific subset)
    -> Categories (hierarchical tree)
      -> Products (assigned to categories)

Catalog Hierarchy:

Product Type Taxonomy:

| Product Type | Description |

|---|---|

| Standard Product | Simple product without variations |

| Master Product | Parent defining shared attributes |

| Variation Group | Optional grouping layer between master and variations |

| Variation Product | Specific SKU with unique variation attributes (color, size) |

| Product Set | Curated collection (e.g., "Complete the Look") |

| Product Bundle | Package of products sold together at bundle price |

Attribute System:

Pricebook Hierarchy:

| Concept | Detail |

|---|---|

| Price Book | Container for prices; supports multiple currencies |

| List Price | Base price (MSRP) |

| Sale Price | Promotional price, time-bound |

| Customer Group Pricing | Segment-specific prices |

| Price Book Inheritance | Child books inherit from parent; override selectively |

| Price Tiers | Quantity-based pricing rules |

Promotions Engine:

Search and Refinements:

Import/Export:

B2B Commerce Catalog Model

ProductCatalog (B2B container)
  -> ProductCategory (categories)
    -> Product2 (standard Salesforce object)
      -> PricebookEntry (price per pricebook)
        -> Buyer Group Entitlements

B2C vs B2B Catalog Comparison:

| Aspect | B2C (SFCC) | B2B (Lightning) |

|---|---|---|

| Product object | SFCC Product (proprietary) | Product2 (standard sObject) |

| Category object | SFCC Category | ProductCategory (B2B-specific) |

| Price container | Price Book (SFCC) | Pricebook2 (standard sObject) |

| Price entry | Price per book + currency | PricebookEntry (junction object) |

| Visibility control | Site catalog assignment | Buyer Group Entitlements |

| Variant model | Master -> Variation Products | Product2 child records + custom fields |

| Search | Proprietary SFCC index | Commerce Search (Einstein-powered) |

| Import | XML via Business Manager | Batch Apex, Platform Events, Data Loader |

Entitlements and Visibility (B2B):

Volume Pricing (B2B):

Content Integration (B2C)

Catalog Sync (B2B)

Code Examples

// Pattern: B2C product retrieval
// Fetch live docs for SCAPI Shopper Products API
// GET /products/{id} -> product attributes, pricing, variants
// Pattern: B2B product query with entitlements
// Fetch live docs for Product2, BuyerGroup, and Entitlement objects
// Query Product2 WHERE entitled for buyer group

Best Practices

B2C Catalog Structure

B2C Pricing and Promotions

B2B Catalog Management

Cross-Platform

Fetch the SCAPI Shopper Products reference and Salesforce Product2 object docs for exact field names and schemas before implementing.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.