B2b Vs B2c Requirements 标志

B2b Vs B2c Requirements

社区
PranavNagrecha
b2b-vs-b2c-requirements

Use this skill to determine whether a Salesforce Commerce project should use B2B Commerce (account-gated, BuyerGroup-based, contract pricing) or D2C Commerce (consumer storefront, guest checkout, individual-based). Trigger keywords: B2B vs B2C, commerce platform selection, buyer journey, account-based purchasing, consumer storefront, licensing decision. NOT for implementation mechanics — use admin/b2b-commerce-store-setup or admin/b2c-commerce-store-setup for configuration work. NOT for Salesforce B2C Commerce (SFCC/Business Manager) setup.

概览

发布者PranavNagrecha
代码仓库AwesomeSalesforceSkills
技能名称b2b-vs-b2c-requirements
星标数
26
复刻数
5
附带文件
6
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 6 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 PranavNagrecha 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 B2b Vs B2c Requirements AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/b2b-vs-b2c-requirements
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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/b2b-vs-b2c-requirements .claude/skills/b2b-vs-b2c-requirements
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 B2b Vs B2c Requirements,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 B2b Vs B2c Requirements。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 B2b Vs B2c Requirements 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

B2B vs D2C Commerce Requirements

This skill activates when a practitioner must decide whether to use Salesforce B2B Commerce or D2C Commerce before building a storefront. It covers the buyer journey differences, entitlement architecture divergence, licensing requirements, and the key platform behaviors that drive the pre-build decision. It does not cover implementation mechanics — those belong to admin/b2b-commerce-store-setup or admin/b2c-commerce-store-setup.


Before Starting

Gather this context before working on anything in this domain:

  • Confirm which Salesforce Commerce licenses are active in the org. B2B Commerce and D2C Commerce are sold as separate add-ons to Sales/Service Cloud. An org can hold both licenses simultaneously, enabling a hybrid "B2B2C" pattern, but that requires careful data model planning.
  • The most common wrong assumption: "B2C Commerce" and "D2C Commerce" are the same thing. They are not. Salesforce B2C Commerce (also called SFCC) is a separate, hosted e-commerce platform built on Business Manager and SFRA cartridges. D2C Commerce (also called Direct-to-Consumer or Lightning-based B2C Commerce) is a WebStore-based storefront running on the Lightning Web Runtime (LWR) inside the core Salesforce platform. These are entirely different infrastructure stacks with different admin, API, and deployment models.
  • The second most common wrong assumption: anonymous/guest purchasing is always available on D2C Commerce by default. Guest checkout was not available on D2C WebStores until Winter '24 and must be explicitly enabled even on post-Winter '24 orgs. B2B Commerce does not support anonymous purchasing by default and requires the same explicit enablement.

Core Concepts

1. Shared Infrastructure, Divergent Buyer-Entitlement Layer

Both B2B Commerce and D2C Commerce use the same WebStore object and the Lightning Web Runtime (LWR) framework for storefront rendering. The code-level difference between platforms is minimal at the UI layer — both support LWC components, Experience Cloud sites, and the Commerce APIs.

The critical divergence is at the buyer-entitlement layer:

  • B2B Commerce gates catalog and pricing access through BuyerGroup and CommerceEntitlementPolicy records. A buyer contact must be associated with an Account that is a BuyerGroupMember, and the contact must have an explicit Buyer or Buyer Manager role. Anonymous purchasing is not the default — it is an opt-in capability added in Winter '24.
  • D2C Commerce is designed for individual consumers. Buyer identity is modeled on the Individual object or Person Account, not on business Account records. Guest checkout is the default intent (though it still requires explicit enablement post-Winter '24). There are no BuyerGroup or CommerceEntitlementPolicy records in a pure D2C store.

This divergence means choosing the wrong platform creates a data model that cannot be corrected without rebuilding the entitlement layer from scratch.

2. Account-Based vs. Consumer Buyer Journey

B2B buyer journeys are inherently account-centric:

  • Orders are placed on behalf of a business account, not by an individual acting independently.
  • Pricing is negotiated per account or per account tier (contract pricing, volume discounts).
  • Multiple contacts within the same account share access to the same cart, order history, and catalog.
  • Approvals and spending limits are enforced at the account level.

D2C buyer journeys are consumer-centric:

  • Each buyer is an individual with their own cart, order history, and account (in the e-commerce sense).
  • Pricing is uniform or segment-based, not negotiated per account.
  • Guest checkout is a first-class scenario.
  • There is no concept of a buyer-manager or order approval workflow at the account level.

Mixing these models — for example, adding BuyerGroup-gated pricing to a D2C store, or trying to support consumer guest checkout in a B2B store — is possible in limited ways but requires custom development and is unsupported as a first-class platform feature in most configurations.

3. Licensing

B2B Commerce and D2C Commerce are separate license SKUs:

  • B2B Commerce license unlocks: BuyerGroup, CommerceEntitlementPolicy, BuyerAccount, BuyerGroupMember, contract pricing objects, and account-gated catalog features.
  • D2C Commerce license unlocks: the consumer WebStore type, guest checkout flows, and the Individual-based identity model.

An org with only a B2B Commerce license cannot configure a D2C-type WebStore without purchasing the D2C add-on, and vice versa. Hybrid B2B2C deployments require both licenses. License type is visible in the org's Installed Packages and in the Commerce App's store-type selection screen — only licensed store types appear as options when creating a new WebStore.

4. Guest and Anonymous Purchasing

Prior to Winter '24, neither B2B nor D2C Commerce WebStores supported anonymous browsing or guest checkout natively. Winter '24 added guest purchasing enablement for both store types, but it must be explicitly activated:

  • In D2C stores: enable "Allow Guest Browsing" and configure the Guest User profile in the associated Experience Cloud site.
  • In B2B stores: enable anonymous access in the WebStore settings and configure the Guest User profile — but this is an uncommon configuration, as B2B buyer identity is the foundation of account-based pricing and entitlement.

If guest checkout is a core business requirement and the buyer persona is individual consumers, D2C Commerce is the correct platform. If all buyers must be authenticated business accounts and guest access is not required, B2B Commerce is correct.


Common Patterns

Pattern A: B2B Commerce for Account-Gated Catalog and Contract Pricing

When to use: The buyer is a business entity. Pricing varies by account or account tier. Products are gated by buyer group membership. Order approval workflows exist. Guest purchasing is not required.

How it works:

  1. Confirm B2B Commerce license is active in the org.
  2. Model buyer segmentation as BuyerGroup records (one per tier or customer segment).
  3. Create CommerceEntitlementPolicy records per tier and link products to each policy.
  4. Convert customer Accounts to BuyerAccounts and assign contacts explicit Buyer or Buyer Manager roles.
  5. Configure contract pricing via price books linked to each BuyerGroup.
  6. Proceed to admin/b2b-commerce-store-setup for implementation.

Why not D2C Commerce: D2C Commerce has no BuyerGroup or CommerceEntitlementPolicy objects. Account-gated catalog segmentation and contract pricing cannot be implemented natively on a D2C WebStore.

Pattern B: D2C Commerce for Consumer Storefront with Guest Checkout

When to use: The buyer is an individual consumer. Pricing is uniform or segment-based (not negotiated per account). Guest checkout is required or preferred. No account-level approval workflows are needed.

How it works:

  1. Confirm D2C Commerce license is active in the org.
  2. Design the buyer identity model around Individual or Person Account records.
  3. Enable guest browsing and guest checkout in the WebStore settings and the Experience Cloud site.
  4. Configure standard price books (no BuyerGroup or entitlement policy setup needed).
  5. Proceed to admin/b2c-commerce-store-setup for implementation.

Why not B2B Commerce: B2B Commerce defaults to authenticated-only access and requires account and buyer group setup for every transacting buyer. Guest checkout is possible but is an add-on configuration, not a first-class scenario. The data model overhead of BuyerGroups, EntitlementPolicies, and BuyerAccounts adds complexity without value for consumer use cases.


Decision Guidance

SituationRecommended PlatformReason
Buyers are business accounts with negotiated pricingB2B CommerceBuyerGroup + EntitlementPolicy model supports account-gated catalog and contract pricing natively
Buyers are individual consumers with uniform pricingD2C CommerceIndividual/Person Account model; no BuyerGroup overhead
Guest checkout is a primary requirementD2C CommerceD2C is the intended platform for consumer guest flows
Multiple buyer tiers need different product catalogsB2B CommerceCommerceEntitlementPolicy segmentation is a B2B-only native feature
Need both account-based and consumer storefrontsBoth licenses (B2B + D2C)Hybrid B2B2C requires both license types and separate WebStore instances
Org only has B2B Commerce license but needs consumer storePurchase D2C licenseD2C WebStore type is unlocked by D2C license only
Order approval workflows at account level are requiredB2B CommerceBuyer Manager role and account-level order management are B2B-native
Project is on Salesforce B2C Commerce (SFCC) / Business ManagerSeparate platform entirelySFCC is a different product — this skill does not apply; use admin/b2c-commerce-store-setup

Recommended Workflow

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

  1. Confirm the buyer persona — Determine whether purchasers are business entities placing orders on behalf of an Account, or individual consumers acting independently. This is the primary fork in the decision. If the answer is "both," flag as a B2B2C hybrid requiring both licenses.
  2. Assess guest checkout requirements — Ask whether anonymous browsing or guest purchasing is required. If yes and buyers are individuals, D2C Commerce is strongly indicated. If yes and buyers are businesses, confirm the B2B guest access enablement introduced in Winter '24 is acceptable, or reconsider the platform choice.
  3. Evaluate pricing and catalog segmentation needs — Determine whether pricing is negotiated per account (contract pricing) or uniform across buyers. Determine whether different buyers should see different product catalogs. Account-gated segmentation points to B2B Commerce; uniform pricing and open catalogs point to D2C Commerce.
  4. Verify active licenses — Check the org's Installed Packages or the Commerce app's new-store dialog to confirm which store types are available. Only licensed store types appear. Report any license gap before proceeding.
  5. Document the decision and rationale — Produce a written summary mapping each business requirement to the platform capability that satisfies it. Capture any requirements that cannot be met natively and require custom development.
  6. Hand off to the correct implementation skill — Once the platform decision is made, activate admin/b2b-commerce-store-setup (for B2B Commerce) or admin/b2c-commerce-store-setup (for D2C/SFCC Commerce) for the configuration work.

Review Checklist

Run through these before marking work in this area complete:

  • Buyer persona is clearly documented (business account vs. individual consumer)
  • Guest checkout requirement has been explicitly confirmed or ruled out
  • Pricing model (negotiated/contract vs. uniform) is documented
  • Catalog segmentation needs (BuyerGroup-gated vs. open) are documented
  • Active Commerce licenses in the org have been verified
  • Platform decision (B2B or D2C) is recorded with rationale
  • Any unmet requirements (requiring custom development) are flagged
  • The correct follow-on implementation skill has been identified

Salesforce-Specific Gotchas

Non-obvious platform behaviors that cause real production problems:

  1. "B2C Commerce" and "D2C Commerce" are different products — Salesforce sells Salesforce B2C Commerce (SFCC), which runs on Business Manager with SFRA cartridges and is a hosted platform entirely separate from the core Salesforce org. D2C Commerce (sometimes called Lightning-based B2C Commerce) is a WebStore running on LWR inside the core Salesforce platform. Confusing the two leads to completely incorrect infrastructure recommendations, implementation plans, and licensing procurement.

  2. B2B Commerce does not support guest checkout by default — Prior to Winter '24, B2B WebStores required authenticated buyer access for every transaction. Guest purchasing was added in Winter '24 but must be explicitly enabled in WebStore settings and Experience Cloud site configuration. Assuming B2B Commerce supports guest checkout out-of-the-box in any org that has not been upgraded to Winter '24 or later will produce a storefront that blocks anonymous buyers with no clear error.

  3. D2C Commerce license does not include BuyerGroup or EntitlementPolicy objects — A common mistake is trying to implement account-gated catalog segmentation on a D2C WebStore. The BuyerGroup, CommerceEntitlementPolicy, and CommerceEntitlementBuyerGroup objects are provisioned by the B2B Commerce license. An org with only a D2C license will not have these objects available in the data model, and any automation or code referencing them will fail with "object not found" errors.


Output Artifacts

ArtifactDescription
Platform decision documentWritten rationale mapping business requirements to B2B or D2C Commerce capabilities
Licensing gap reportList of required licenses vs. currently active licenses in the org
Requirements-to-features mappingTable showing which Commerce features satisfy each buyer journey requirement
Follow-on skill listImplementation skills to activate after the platform decision is finalized

Related Skills

  • admin/b2b-commerce-store-setup — use for B2B Commerce implementation: WebStore creation, BuyerGroup setup, entitlement policy configuration, and buyer contact access
  • admin/b2c-commerce-store-setup — use for Salesforce B2C Commerce (SFCC) storefront setup via Business Manager
  • admin/commerce-pricing-and-promotions — pricing model design for either platform after the platform decision is made
  • admin/commerce-product-catalog — product catalog structure and entitlement policy configuration after platform selection

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

B2b Vs B2c Requirements AI 技能有什么作用?

Use this skill to determine whether a Salesforce Commerce project should use B2B Commerce (account-gated, BuyerGroup-based, contract pricing) or D2C Commerce (consumer storefront, guest checkout, individual-based). Trigger keywords: B2B vs B2C, commerce platform selection, buyer journey, account-based purchasing, consumer storefront, licensing decision. NOT for implementation mechanics — use admin/b2b-commerce-store-setup or admin/b2c-commerce-store-setup for configuration work. NOT for Salesforce B2C Commerce (SFCC/Business Manager) setup.

为什么在 TypingMind 中使用 B2b Vs B2c Requirements?

因为您只需安装一次,就能搭配任何模型使用。B2b Vs B2c Requirements 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 B2b Vs B2c Requirements?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/b2b-vs-b2c-requirements。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 B2b Vs B2c Requirements?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

B2b Vs B2c Requirements 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 B2b Vs B2c Requirements 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

B2b Vs B2c Requirements AI 技能免费吗?

PranavNagrecha 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇