Skip to main content
Grupos destacados

* B2C Commerce *

Welcome! This group is dedicated to your success with Salesforce B2C Commerce. Join the conversation here to stay up to date on the product, learn best practices, and everything in between. Use this group to review resources, ask questions, help each other, and share experiences. --------------------------------------- This group is maintained and moderated by Salesforce employees. The content received in this group falls under the official Forward-Looking Statement: http://investor.salesforce.com/about-us/investor/forward-looking-statements/default.aspx

*** 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 comentarios
0/9000

Secure your Agentblazer Status and stay ahead of the curve.

 

More content has been added to the Champion, Innovator, and Legend trails! Plus, the new change log feature makes it easy to track what’s new to grow your skills and keep pace with AI. 

 Skill up today:

trailhead.com/agentblazer 

Secure your Agentblazer Status and stay ahead of the curve. 

3 comentarios
0/9000

🤖 Build real expertise for the Agentic AI era. 

 

Trailhead Journeys are now available across 10 Salesforce products empowering you to move from fundamentals to advanced expertise with a progressive, step-by-step curriculum. 

 

Newly added journeys:

 

Skip the search. Start the journey 👉 trailhead.com/trailhead-journeys

 

🤖 Build real expertise for the Agentic AI era.

 

 

13 comentarios
  1. 9 sept, 05:35

     This is a great way to build practical expertise for the Agentic AI era. The step-by-step journeys make it much easier to move from foundational concepts to advanced skills across the Salesforce ecosystem. Excited to explore the new journeys, especially Agentforce Service and Marketing! 🚀 

0/9000

Greetings all and thank you for your attention

 

I'm new in salesforce Commerce Cloud B2C and I realized that I can only apply the debugger in the server side js files. When I tried to start the debugger in the client side js files it appears an error.

Can you tell me please with what tool I can start the debugger in a cliente side js file? Or an alternative

1 respuesta
  1. 14 jul 2021, 19:44

    You can only debug your storefront Javascript in the console of your browser, unfortunately. I have not found a way yet to hook in VS Code or any other IDE for that matter.

     

    (Secretly hoping someone has found a way and wants to reply ;-) )

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 respuestas
0/9000

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 respuestas
  1. 13 sept 2023, 15:17

    Hi @Mayra Janeth Gómez, 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

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 respuestas
  1. 29 jul, 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

I have created an API Client under Account Manager

In Business Manager for my user under  Manage Access Keys I created "Agent User Login and OCAPI"

 

When I test making a call to https://[sandbox domain]/dw/oauth2/access_token?client_id={API Client ID}

with header info:

 

basic_auth_token = b64encode(

            bytes(f"{business_manager_username}:{business_manager_password}:{api_client_password}",

                  "utf-8")

        ).decode("ascii")

headers = {}

 

authorization = f"Basic {basic_auth_token}"

 

headers["Authorization"] = authorization

headers["Content-type"] = "application/x-www-form-urlencoded"

headers["Cache-Control"] = "no-cache" 

 

and

data = {

"grant_type": "urn:demandware:params:oauth:grant-type:client-id:dwsid:dwsecuretoken"

}

 

I keep getting HTTP 400 with error message:

"Client id 'client id' has invalid credentials to use grant type 'urn:demandware:params:oauth:grant-type:client-id:dwsid:dwsecuretoken'."

 

anyone can pinpoint what I am doing wrong?

@* B2C Commerce * 

2 respuestas
  1. 23 jul, 15:08

    Hello , were you able to solve this issue ?

0/9000

We're building out Headless 360 learning on Trailhead and want your input. 💙  

 

We're running a short survey to understand what you want to learn, how you like to learn, and which use cases matter most to your work. 

 

👉 Take the Headless 360 survey now through July 28.

 

Thank you for taking the time to provide this valuable feedback! 🙌  

We're building out Headless 360 learning on Trailhead and want your input.