Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [b2c]

The B2C tag should be used for questions regarding the Salesforce B2C Commerce product (formerly known as Demandware)

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 views

How to add LWC or Aura components onto B2C Commerce Cloud storefront site?

We are new to B2C commerce cloud and trying to add LWC and Aura components that we have to the B2C Commerce Cloud storefront site. Is there a way we can add these components onto the storefront site ...
user avatar
  • 1
0 votes
1 answer
24 views

searchProfiles without custom attribute value

I have created a new custom attribute in Profile Object. Is a boolean attribute and now I need to retrieve all customers without that attribute or with that attribute being false. I have tried a lot ...
user avatar
0 votes
0 answers
9 views

Calling "ImportCatalog" Job step from a script as part of a custom job in SFRA

I want to call the ImportCatalog pipelet in a custom job that I am writing in SFRA. I came across the job step created for it in SFRA, so I was wondering, if there was a way to call the step through ...
user avatar
1 vote
1 answer
50 views

Has anyone integrated Salesforce Commerce Cloud (SFCC) with any messaging technologies?

I'm looking for examples of how others might have solved for this. Did you build a custom cartridge? Did you leverage some externally running agent to retrieve data by OCAPI (or Commerce Cloud APIs)? ....
user avatar
0 votes
1 answer
54 views

PATCH request using LocalServiceRegistry

I have a scenario where if the customer updates his/her profile in SFCC, then that customer has to be updated in the Salesforce Account object using a PATCH call. I was planning to use to the ...
user avatar
2 votes
3 answers
279 views

Commerce B2C store creation throws "An unexpected error occurred."

I have a developer account and trying to create a SF store using B2C templates provided by SF, however, I'm encountering an error every time I press create. Error: An unexpected error occurred. Try ...
user avatar
  • 21
0 votes
0 answers
49 views

batch update OCPAI endpoint for inventory update SFCC

As part of inventory export, I want to build the integration that sends POST requests for batch inventory export via OCAPI. Can anyone please tell me this request and set up an OCAPI endpoint for the ...
user avatar
0 votes
2 answers
61 views

bcrypt in Commerce Cloud

I am new to Salesforce B2C. I need to use the bcrypt dependency in a Controller, but I can't get it installed on the cartridge. I am not sure if this is possible. If it is not possible. Is there a ...
user avatar
0 votes
1 answer
39 views

Call site genesis pipeline inside site genesis controller version

I am converting a pipeline into a site genesis controller version in sfcc b2c. But unfortunately, that pipeline has multiple pipelines inside it. and there are also multiple pipelines are being used ...
user avatar
0 votes
1 answer
133 views

SFCC pipeline documentation

I have found a pipeline documentation URL but does not open to me. does anyone know how I can read SFCC pipeline's basics? PLEASE suggest documentation for sfcc b2c pipeline version's documentntion ...
user avatar
1 vote
1 answer
79 views

Is there a built-in way to filter product search results based on customer group?

Additional context: most responses I've seen to similarly asked questions either here, or on unofficial salesforce slack channel seem to imply that "custom code" is the solution. After some ...
user avatar
1 vote
0 answers
37 views

Delete Button on Cart (SFCC)

I need to do a task which consists in : Apply a delete button for each item on minicart Apply a delete button for ALL the products on CartPage. The project has some customizations but nothing very ...
user avatar
1 vote
1 answer
267 views

How to change attribute from a product?(SFCC)

I'm totally fresher on Salesforce B2c commerce and the instructor of the classes passed one task that i am struggling to solve. Task: All the products sold by weight needed to change to unit. For ...
user avatar
0 votes
0 answers
33 views

How to add CSS from Library in B2C?

I have a CSS file from the library on Business Manager and want to add that css file to every page in storefront, what should I do?
user avatar
1 vote
2 answers
389 views

SFCC - show products based on url argument

we have a requirement where url will have different variants as argument e.g. pid=Prod1|Prod2|Prod3. Based on this we need to show a pdp page with three products. Initially, I was thinking to create ...
user avatar
0 votes
0 answers
178 views

SalesforceCommerceCloud-service-cloud-connector(B2C) deployment issue

SalesforceCommerceCloud-service-cloud-connector(B2C) deployment issue Hello Eveyone, I am reaching out for help with SalesforceCommerceCloud-service-cloud-connector(B2C) https://github.com/...
user avatar
1 vote
1 answer
717 views

Salesforce Commerce Cloud : Unable to upload cartridges from vs code facing 403 Forbidden error

I'm uploading cartridges from vs code in the staging environment and I'm getting the following error. Current active version is: b33_20200522_stg Start uploading cartridges Cleanup code version... [...
user avatar
1 vote
0 answers
203 views

What does it mean for a promotion in SFCC to be active?

What does it mean for a promotion in SFCC to be active? In the documentation section over here (Salesforce B2C Commerce 19.9 > Merchandising Your Site > Campaigns and Promotions > Promotions for ...
user avatar
  • 1,107
2 votes
1 answer
2k views

Create customer using shop ocapi with postman

I am getting below exception while accessing customer shop OCAPI to register customer or get customer profile. I have provided Oauth token for default client id as : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ...
user avatar
1 vote
1 answer
998 views

Limit for quota 'api.dw.io.FileWriter(File)' exceeded. Limit is 0, actual is 1

I have written the following function in the helper library: exports.createXML = function(ExportFile, XMLObj){     var writer = new FileWriter(ExportFile, 'UTF-8');     var xsw = new ...
user avatar
0 votes
2 answers
321 views

could not find module guard in storefront_controller

I get this error upon running newly created JHelloWorld.js: Cannot find module 'storefront_controllers/cartridge/scripts/guard' I created this controller under training cartridge and following ...
user avatar
  • 3
0 votes
1 answer
2k views

How to convert a LEAD to Person-Account directly (without any API or code)?

Is it possible to convert a Lead to Person-Account directly similar to normal B2B accounts. I read it somewhere as, we need to keep the Company field in Lead as blanks to convert the Lead Contact ...
user avatar