Logo von B2c Commerce Store Setup

B2c Commerce Store Setup

Community
PranavNagrecha
b2c-commerce-store-setup

Use when configuring or troubleshooting a Salesforce B2C Commerce (SFCC) storefront — including Business Manager site creation, SFRA cartridge path setup, customer groups, search index rebuilding, and key quota limits. Trigger keywords: SFCC, Commerce Cloud, Business Manager, storefront, cartridge, SFRA, site preferences, replication. NOT for B2B Commerce on Lightning (WebStore, BuyerGroup) — use admin/b2b-commerce-store-setup. NOT for choosing SFCC vs B2B Commerce — use architect/b2b-vs-b2c-architecture.

Übersicht

HerausgeberPranavNagrecha
RepositoryAwesomeSalesforceSkills
Skill-Nameb2c-commerce-store-setup
Sterne
26
Forks
5
Mitgelieferte Dateien
6
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 6

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von PranavNagrecha auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill B2c Commerce Store Setup in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/b2c-commerce-store-setup
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PranavNagrecha/AwesomeSalesforceSkills.git /tmp/AwesomeSalesforceSkills
mkdir -p .claude/skills
cp -r /tmp/AwesomeSalesforceSkills/skills/admin/b2c-commerce-store-setup .claude/skills/b2c-commerce-store-setup
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie B2c Commerce Store Setup in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt B2c Commerce Store Setup automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist B2c Commerce Store Setup nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

B2C Commerce Store Setup

This skill activates when a practitioner needs to configure a Salesforce B2C Commerce (SFCC) storefront from Business Manager site creation through SFRA cartridge path management, quota awareness, and search index operations. It is strictly for the proprietary SFCC infrastructure — not for B2B Commerce on the Salesforce Lightning platform.


Before Starting

Gather this context before working on anything in this domain:

  • Confirm the platform is B2C Commerce (SFCC) — Business Manager URL, not a Lightning org. B2B Commerce uses WebStore and lives in a Salesforce org; SFCC does not.
  • Identify the target instance type: Development, Staging, or Production. Replication behavior and quota enforcement differ.
  • Know the full custom cartridge list and their dependency order before touching the cartridge path — wrong order causes silent fallback to app_storefront_base, which is extremely hard to debug.
  • Be aware of the active-promotions performance threshold (1,000 active promotions). Exceeding it degrades basket performance before hitting the hard cap of 10,000.
  • Search index is NOT automatically rebuilt after catalog or preference changes — any session that cached old data will see stale results until manual rebuild.

Core Concepts

Business Manager and Site Architecture

B2C Commerce is managed through Business Manager (BM), a proprietary admin interface. Each storefront is a site created at Administration > Sites > Manage Sites > New. Site IDs must be 32 characters or fewer, alphanumeric only, no spaces. A site is bound to:

  • A storefront catalog (subset of the master catalog assigned as the browsable product set)
  • A currency and one or more locales
  • A cartridge path that controls which code runs for the site

Sites are isolated; preferences, promotions, and catalogs are scoped per-site unless explicitly shared at the organization level.

SFRA Cartridge Path

Storefront Reference Architecture (SFRA) uses a colon-separated cartridge path evaluated left to right. When SFCC resolves a template, script, or static resource it walks from the leftmost cartridge until it finds the file. The base cartridge app_storefront_base must always sit at the rightmost position. Custom cartridges and integration cartridges go to its left.

Example path:

int_custom_payment:plugin_giftcert:app_custom_mystore:app_storefront_base

Never modify app_storefront_base directly. Doing so creates a merge conflict on every SFRA upgrade and voids upgrade compatibility. All overrides must live in a cartridge positioned left of it.

Cartridge path is configured in Business Manager at Administration > Sites > Manage Sites > [Site] > Settings > Cartridges.

Search Index and Catalog Replication

SFCC does not auto-rebuild the search index after catalog, price book, or site preference changes. Practitioners must manually trigger a Full Search Index rebuild via Merchant Tools > Search > Search Indexes > Rebuild. In production, this can take minutes to hours depending on catalog size.

Replication pushes content from staging to production. It does not replace a search index rebuild — both may be required after a catalog update in production.

Customer Groups, Promotions, and Quotas

Customer groups segment shoppers for targeted promotions and pricing. They are defined in Merchant Tools > Customers > Customer Groups. Promotions are created in Merchant Tools > Marketing > Promotions and assigned to campaigns and experiences.

Key quota limits (per-instance, enforced by SFCC infrastructure):

ResourcePerformance ThresholdHard Limit
Active promotions1,00010,000
Product line items per basket—400
Session size—10 KB
HTTPClient calls per page request—16
Replicable custom objects—400,000 per instance

Exceeding the active-promotions threshold does not throw an error — it silently degrades basket and checkout performance. Monitor and archive inactive promotions regularly.


Common Patterns

Pattern: Installing a Custom Cartridge on SFRA

When to use: Adding a new integration (payment, loyalty, analytics) or a storefront customization cartridge.

How it works:

  1. Upload the cartridge code to the SFCC instance via WebDAV (/cartridges/) or a CI pipeline (SFCC CI toolkit / sfcc-ci).
  2. In Business Manager go to Administration > Sites > Manage Sites > [Site] > Settings.
  3. In the Cartridges field, prepend the new cartridge name to the left of any existing custom cartridges, keeping app_storefront_base rightmost.
  4. Save and test by verifying the override file is served (check template resolution in the Request Log or add a visible marker to the overriding template).

Why not the alternative: Appending a cartridge to the right of app_storefront_base means its overrides are never reached — the base cartridge resolves first.

Pattern: Rebuilding Search Index After Catalog Update

When to use: After any catalog import, product attribute change, price book update, or search preference modification.

How it works:

  1. Navigate to Merchant Tools > Search > Search Indexes.
  2. Select the affected search index (typically [siteid]-product).
  3. Click Full Rebuild (not Partial) if product visibility or attribute data changed.
  4. Monitor progress in Administration > Operations > Jobs.
  5. Verify results on storefront search before marking complete.

Why not the alternative: Partial rebuild only reindexes changed price/inventory data. Structural catalog changes (attributes, categories, visibility) require a full rebuild.


Decision Guidance

SituationRecommended ApproachReason
Storefront customization neededCreate a custom cartridge positioned left of app_storefront_basePreserves upgrade path; no merge conflicts on SFRA updates
Catalog or search preference changedFull Search Index rebuildNo auto-index; stale data persists until manual rebuild
Active promotions approaching 1,000Archive or deactivate expired promotions immediatelyPerformance degrades silently; no error thrown at threshold
New site needed for a new locale/regionCreate a new site in BM; assign its own cartridge path and catalogSites are isolated by design; shared org-level resources can be reused
Staging-to-production content pushUse BM replication jobs, then rebuild search index on productionReplication does not trigger search rebuild automatically
Custom objects near 400,000 limitMigrate historical records out or use external storageHard limit is instance-wide; overflow causes write failures

Recommended Workflow

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

  1. Confirm platform identity — verify the target is SFCC (Business Manager URL pattern: *.commercecloud.salesforce.com/on/demandware.store/Sites-Site/), not a Salesforce Lightning org. If the user mentions WebStore, BuyerGroup, or CommerceEntitlementPolicy, route to admin/b2b-commerce-store-setup instead.
  2. Create or locate the site — in BM go to Administration > Sites > Manage Sites. For a new site, choose New, enter a site ID (max 32 alphanumeric chars, no spaces), assign a storefront catalog, currency, and primary locale.
  3. Set the cartridge path — in Site Settings > Cartridges, build the colon-separated path with all custom and integration cartridges to the LEFT of app_storefront_base. Verify upload of all cartridge code to WebDAV before saving.
  4. Configure site preferences and locales — in Merchant Tools > Site Preferences, set storefront URLs, default locale, currency, and any feature flags. For additional locales add them under Merchant Tools > Localization.
  5. Rebuild search index — trigger a Full Search Index rebuild for the site under Merchant Tools > Search > Search Indexes. Do not skip this step after any catalog or preference change.
  6. Audit quotas — check active promotion count (target < 1,000), basket line-item count in test scenarios (limit 400), and custom object volume (limit 400,000 replicable per instance). Archive any inactive promotions.
  7. Validate on storefront — browse the storefront, test search, add items to basket, and confirm customer group-based promotions apply correctly before signing off.

Review Checklist

Run through these before marking work in this area complete:

  • Site ID is alphanumeric, 32 chars or fewer, no spaces
  • Cartridge path places all custom cartridges LEFT of app_storefront_base; base cartridge was not modified directly
  • All custom cartridge code has been uploaded to WebDAV and is visible in BM cartridge list
  • Full Search Index rebuild completed after any catalog or preference change
  • Active promotion count is below 1,000; expired promotions archived
  • Storefront browse, search, and checkout tested end-to-end
  • Replication job scheduled if staging changes need to reach production

Salesforce-Specific Gotchas

Non-obvious platform behaviors that cause real production problems:

  1. Cartridge path is evaluated left-to-right — wrong order is silent — If a custom cartridge is placed to the RIGHT of app_storefront_base, its templates and scripts are never reached. The storefront loads without error but your customizations are completely ignored. Always verify override resolution explicitly.
  2. Search index is never auto-rebuilt — Catalog imports, product attribute updates, and price book changes do not trigger a search index rebuild. The storefront will serve stale search results indefinitely until a manual full rebuild is initiated. This is one of the most common post-deployment support tickets.
  3. Active promotions degrade performance silently before the hard cap — At 1,000 active promotions, basket and checkout performance begins to degrade with no error in logs. The hard cap of 10,000 throws errors, but teams usually encounter the performance cliff first and don't connect it to promotion volume.
  4. Session data is capped at 10 KB — Storing large objects in session (e.g., serialized product lists or user preferences) causes silent data loss or truncation once the 10 KB limit is hit. Symptom: intermittent data disappearing from session mid-browse.
  5. Replication does not rebuild search index on the target instance — After pushing staging content to production via a replication job, the production search index still reflects pre-replication data until manually rebuilt on the production instance.

Output Artifacts

ArtifactDescription
Site configuration summarySite ID, catalog binding, locale and currency settings
Validated cartridge path stringColon-separated path ready to paste into BM Site Settings
Quota risk reportCurrent counts vs. thresholds for promotions, custom objects
Search index rebuild logJob ID, start/end time, status from BM Operations

Related Skills

  • admin/b2b-commerce-store-setup — use for Salesforce B2B Commerce on the Lightning platform (WebStore, BuyerGroup, entitlement policies); entirely different data model and infrastructure

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill B2c Commerce Store Setup?

Use when configuring or troubleshooting a Salesforce B2C Commerce (SFCC) storefront — including Business Manager site creation, SFRA cartridge path setup, customer groups, search index rebuilding, and key quota limits. Trigger keywords: SFCC, Commerce Cloud, Business Manager, storefront, cartridge, SFRA, site preferences, replication. NOT for B2B Commerce on Lightning (WebStore, BuyerGroup) — use admin/b2b-commerce-store-setup. NOT for choosing SFCC vs B2B Commerce — use architect/b2b-vs-b2c-architecture.

Warum B2c Commerce Store Setup in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. B2c Commerce Store Setup besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich B2c Commerce Store Setup in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/b2c-commerce-store-setup ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können B2c Commerce Store Setup nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit B2c Commerce Store Setup verwenden?

So viele Sie möchten. In TypingMind können Sie B2c Commerce Store Setup mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill B2c Commerce Store Setup kostenlos?

Der Skill wird von PranavNagrecha auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇