Skip to main content

#B2C Commerce15 personnes en discutent

Hi Salesforce Community,

I am currently learning Salesforce Commerce Cloud and would like to understand the licensing requirements for B2C Commerce.

Could someone please clarify the following?

  1. Which licenses are required to create and manage a B2C Commerce storefront?
  2. Is a separate B2C Commerce license or subscription required?
  3. Can we develop and test a B2C Commerce storefront using a Developer Edition org, or do we need a separate B2C Commerce sandbox/realm?
  4. Which licenses are required for shoppers and internal users?
  5. Is there any trial or developer environment available for learning and practice?

Any guidance or documentation would be greatly appreciated.

Thank you!   

#B2C Commerce #B2C Sandbox #B2B Commerce #Commerce Cloud DEV101

1 réponse
  1. 21 oct., 10:29

    Good questions, because B2C Commerce works differently from the rest of Salesforce. 

     

    It doesn't run inside a normal Salesforce org. It runs on its own platform (managed through Business Manager), so you can't build or test a B2C storefront in a Developer Edition org, and it isn't a license you add to Sales or Service Cloud. A company buys a B2C Commerce subscription and gets a realm with its environments, and developers usually work in on-demand sandboxes created inside that realm. 

     

    Shoppers don't need any license. Pricing is normally tied to the sales that go through the storefront rather than per shopper. Internal users (merchandisers, developers, admins) get access to Business Manager through Account Manager, set up by whoever administers the realm. 

     

    For learning on your own, start with the B2C Commerce trails on Trailhead. For hands-on sandbox access, the usual routes are through an employer that already has a realm or through a Salesforce partner company, since there isn't a free self-service B2C realm the way there is a free Developer Edition org. If your goal is to learn commerce in general, B2B Commerce and Commerce on Core do run in normal orgs, so they're easier to practice with.

0/9000

Hello, 

 

We are looking for Technical documents, HLD and Features available OOTB in all of the below platforms by Salesforce- 

Salesforce B2B Commerce Ligtning. 

Salesforce OMS & OCI 

Salesforce B2C commerce (Demandware).+ Storefront Next 

 

I know there are various help articles but we are looking for consolidated version in form a presentation or document will help. 

 

#B2C Commerce  #B2B Commerce

2 réponses
  1. 12 oct., 14:10

    Hi @Ayaan Saini,

    Salesforce does not publish one single combined document for all these products. The best approach is to collect the official pieces below and put them into your own deck or HLD. Here is where to find each part.

    1. B2C Commerce (Demandware) + Storefront Next

    • Main hub: the Commerce section on developer.salesforce.com/docs/commerce. It has guides for B2C Commerce APIs (SCAPI, OCAPI, Script API), Storefront Next, Composable Storefront (PWA Kit), and SFRA.
    • Choose Your B2C Commerce Storefront Type compares SFRA, Composable Storefront and Storefront Next. This page is very useful for an HLD decision.
    • Storefront Next Architecture explains the full request flow: shopper → Managed Runtime (server-side rendering) → SCAPI → B2C Commerce backend, plus Einstein and the Salesforce Platform.
    • Build and Customize Storefront Next lists the OOTB features, such as Page Designer, checkout, passwordless login, social login, store locator and pickup, and hybrid storefronts.
    • For the OOTB business features (catalog, promotions, Business Manager, etc.), use the Salesforce Help B2C Commerce documentation, and check the B2C Commerce Release Notes for the latest additions.

    2. B2B Commerce on Lightning

    • Use the Salesforce Help “B2B Commerce and D2C Commerce” documentation and the Commerce developer guides.
    • Check the Lightning-based commerce guide for the OOTB feature list: buyer groups, entitlements, price books, carts and checkout, orders, and Experience Cloud storefront templates.
    • Also read the Commerce Developer Guide for the Connect REST APIs, Apex extension points, and the checkout flow.

    3. Salesforce OMS and OCI

    • Use the Salesforce Help “Order Management” and “Omnichannel Inventory” guides. They cover order lifecycle, fulfillment orders, routing, returns, inventory availability, and reservations.
    • Check the Order Management developer guide for the data model and APIs.

    4. Consolidated or architecture-level material

    • Salesforce Architects (architect.salesforce.com) has reference architectures, decision guides, and diagrams. These are the closest thing to a ready HLD.
    • Trailhead has trails and modules for B2C Commerce, B2B Commerce, and Order Management. They are good for a feature overview.
    • Release notes for each product, since feature lists change every release.

    5. For a ready-made presentation or feature matrix

    • Ask your Salesforce Account Executive or Solution Engineer. They can share official pre-sales decks, capability matrices, and product roadmaps that are not publicly available.
    • If your company is a Salesforce partner, check the Partner Community for enablement material.

    A practical tip: build one short document with a section per product (purpose, key OOTB features, architecture, integration points, and when to use it). Linking each section to the official page keeps it easy to update.

    Hope this helps! If it does, please mark it as the best answer.

0/9000

I’m looking for suggestions for a customizable count down timer that we can display on our website. It would live on a page built using Page Designer.

 

Doing some online searching I’ve found some embeddable options, but when I use the HTML view of the text block component, any script in the embed code gets deleted so then it doesn’t work.

 

Thanks in advance for any help I can get!

10 réponses
  1. 8 oct. 2025, 13:23

    You won’t be able to run raw script tags inside Page Designer, since it strips them out. A simple workaround is to use a countdown timer that comes as an iframe embed (no script needed) or use a GIF/HTML block widget if your platform supports it. Some third-party tools like POWR, Elfsight, or TickCounter give you iframe code that works fine in Page Designer.

0/9000

*** Important Update: Associate a B2C Commerce instance to your Managed Runtime production environment(s) by Sep 29, 2026 ****** Important Update: Associate a B2C Commerce instance to your Managed Runtime production environment(s) by Sep 29, 2026 ***Salesforce is limiting how Managed Runtime (MRT) determines production enviSalesforce is limiting how Managed Runtime (MRT) determines production environments. Currently, you can set any environment to production, regardless of whether it’s connected to an instance. This creates a lot of traffic, which harms the accuracy of monitoring and incident response for everyone on the platform.

 

To reduce traffic and improve capabilities, Salesforce is limiting which environments can be flagged as production. Starting September 29, 2026, an environment can be flagged as production only if it’s associated with a Staging or Production B2C Commerce instance.

 

Log Center logs and Log Center metrics aren't affected by this change. Both stay independently configurable on any environment, regardless of instance tier.

 

To keep production monitoring and related features on these environments, associate each one with a Staging or Production B2C Commerce instance before September 29, 2026.

 

  1. Open Runtime Admin and go to the Environment Settings for the environments listed above.
  2. Associate the environment with a Staging or Production B2C Commerce instance.
  3. Confirm the production flag is still on after you save the association.
  4. Redeploy the current bundle in that environment. This ensures the change takes effect immediately rather than waiting for your next scheduled deployment.

If you don't associate an instance by the deadline, you will lose production monitoring. Your Log Center logs and Log Center metrics settings won't change.

 

Need help?

Contact Salesforce Customer Support if you have questions about which instance to associate.

 

#B2C Commerce #B2B Commerce

2 commentaires
0/9000

Hi everyone,

We are a Salesforce B2C Commerce Partner and our On-Demand Sandbox credits are approaching exhaustion.

Could someone please clarify the current process?

  1. Can partners still purchase/top up additional On-Demand Sandbox credits?
  2. If our allocated credits are exhausted, will the sandboxes continue running and automatically move into overage billing?
  3. If yes, how is the overage billed to the partner, and is any action required from our side?
  4. Is there any option to request additional credits through our Partner Manager?

Looking for confirmation on the current 2026 process.

 

Thanks, 

Ayaan 

 

#B2C Sandbox  #B2C Commerce

3 réponses
  1. 22 sept., 18:02

    Here's the current process for Salesforce B2C Commerce Partners regarding On-Demand Sandbox credits as of 2026:

    Purchasing or Topping Up Credits

    • Partners can typically purchase or request additional On-Demand Sandbox credits through their Salesforce Partner Manager or Account Executive. This may require a formal request or order.

    What Happens When Credits Are Exhausted

    • If your allocated credits are exhausted, your existing sandboxes will continue to run. Salesforce will automatically move your account into overage billing for any usage beyond your entitlement, so sandboxes are not immediately shut down.

    How Overage Is Billed

    • Overage is billed monthly based on contract terms and the number of sandboxes or usage hours beyond your allocation. The billing is charged to your partner account, and no immediate action is needed to keep sandboxes running, but it’s important to monitor your usage and billing statements.

    Requesting Additional Credits

    • You can request additional credits directly from your Partner Manager or Account Executive, who will guide you through the process.

    Confirmation for 2026

    • The process remains as described above, but always confirm with your Partner Manager or Account Executive for any recent updates or changes to contract terms.

    For more details, review your latest partner agreement or connect with your Salesforce Partner Manager.

0/9000
1 réponse
  1. 8 sept., 16:21

    Hi Sreemanth — this one is almost always the sharing-settings step on the Inventory objects rather than a problem with your Commerce licenses. Things to try, in order: 

     

    1) Set up the Inventory sharing manually instead of using Retry. Click the "Set up manually" link on the Inventory row, then go to Setup → Sharing Settings → Organization-Wide Defaults → Edit. Set Default Internal Access for Location and Location Group

    to Public Read/Write, keep "Grant Access Using Hierarchies" checked, and Save. Sharing recalculation runs asynchronously, so wait for the confirmation email before going back to the assistant. 

     

    2) Don't hit Retry while a sharing recalculation is still running.

    If the assistant tries to change org-wide defaults while another recalculation is in flight, the step fails with exactly that generic "We couldn't set up all of the features" message. Wait until it finishes, then Retry so it can continue to steps 4–6. 

     

    3) Check Setup → Deferred Sharing Maintenance and Setup → Background Jobs.

    If deferred sharing calculation is suspended in the org, the assistant can't update org-wide defaults at all. 

     

    4) Confirm the Inventory objects are actually provisioned.

    Location and Location Group come with Inventory Management / Omnichannel Inventory, and a plain new Developer Edition org isn't always fully provisioned for Commerce. If those objects are missing, spinning up a Commerce-enabled trial org (B2B/B2C Commerce trial signup or Environment Hub) is the fastest route. 

     

    5) Check the running user's permissions.

    Make sure whoever runs the assistant has the Commerce Admin permission set plus Modify All Data / Manage Sharing. 

     

    Once Inventory sharing is set manually, the assistant should treat the step as complete and let you finish the rest. If it still sticks at 3 of 6 after recalculation completes, check the Setup Audit Trail around the failure timestamp and raise a support case — the generic message doesn't tell you which object failed, but Support can see it. 

     

    Hope that helps.

0/9000

Hello Team, has anyone in the group integrated WordPress with SF ? I need to insert a webToLead form in a WordPress site. Is it possible without using plugins?  Thx!

3 réponses
0/9000
Palak Bohra a posé une question dans * B2C Commerce *

Hi, 

I have long waiting to try commerce cloud for learning purpose and to pitch to our clients. I want to earn certificates as well for it. Is there still no way to get the license for this just for trial purpose?

Hello! Is it possible to create a sorting rule that orders products from highest to lowest price based on the discounted prices, as it currently only takes the base price? Or are there ways to create custom sorting rules with such criteria?

2 réponses
  1. 13 sept. 2023, 15:17

    Hi @Mayra Janeth Gómez de los Santos, in B2C Commerce you can include the price attribute as a standard attribute in your custom sorting rules (https://help.salesforce.com/s/articleView?id=cc.b2c_creating_sorting_rules.htm&type=5). The price attribute uses the information stored in your price books. So you could use a standard/base price book and a sales/promotional price book depending on how you create and structure your price books. Please note that promotional prices as a result of the promotion engine are not reflected in the sorting rules. Promotional prices based on our promotion engine are highly dynamic and are not considered in search to avoid performance impact.

0/9000
B Sai Akshay (Wipro) a posé une question dans * B2C Commerce *

In ConsentTracking controller, we have a server.post(SetConsent) route with couple of middleware steps. When I try to debug using Browser's Developer tools->Network tab, I see that for ConsentTracking-SetConsent call the request method is GET. According to code, it checks if the request is post. But as the request is GET we are getting the params do not match route error. As a result, I am getting tracking consent popup on every page. I am not at all modifying this Controller in my custom cartridge. I don't understand why the http method is changed to GET. 

Is the POST request getting overridden by GET request due to any previous calls?

Can anyone please suggest why is this happening?

 

(Note - This error popped up when I was trying to upgrade SFRA version from 6.0.0 to 6.2.0) 

5 réponses
  1. 29 juil., 06:34

    @Giovanni Marchetto

    , 

     

    I don’t think a previous call is changing the POST to GET. This usually happens when the frontend code and controller route are not from the same SFRA version.

    Since this started after upgrading from SFRA 6.0.0 to 6.2.0, I’d compare all ConsentTracking-related files, not just the controller.

    Check these:

    1. Search your cartridges for ConsentTracking-SetConsent, ConsentTracking-SetSession, and SetConsent.
    2. See if your custom cartridge is overriding ConsentTracking.js or any consent popup JS/ISML.
    3. Compare those files with the SFRA 6.2.0 version.
    4. Clear cache and redeploy static assets.

    Most likely, the browser is calling the newer GET-based consent endpoint, but your controller/custom override is still expecting POST. So it looks like a version mismatch rather than the method being overridden. 

0/9000