Questions tagged [demandware]

Salesforce B2C Commerce (previously known as Demandware) is an SaaS e-commerce platform that utilizes a JavaScript-style scripting language called Demandware Scripting, a templating language called ISML.

In June of 2016, Salesforce acquired Demandware, and renamed the platform to "Salesforce Commerce Cloud". It is also called Salesforce B2C Commerce Cloud.

Here is a link to documentation for the API and usage of this platform.

There are 3 architectures of this framework:

  1. Pipelines (Outdated)

  2. SGJC (Site Genesis JS Controllers)

  3. SFRA (Storefront Reference Architecture)

SFRA is the latest among the above.

117 questions
2
votes
2 answers

Demandware: Find Product's Category Position?

I'm updating a data feed export, which links a Product to a given Category. I want to also include that product's merchandising position within that category, which currently exists in Business Manger, and is used to control sorting on Product…
DeathB4Decaf
  • 390
  • 1
  • 10
2
votes
3 answers

Condition around slot tag

I was wondering if it would be possible to make a condition around a slot, to check if it is configured or not, and then display different markup. Code example:
Mikkel Fennefoss
  • 857
  • 1
  • 9
  • 32
2
votes
4 answers

Wordpress and Demandware

Is there a way to keep an existing WordPress site and ‘attach’ to a content slot / asset in Demandware? We are having a new ecommerce platform implemented and I want to use keep the WordPress blog as the CMS is used by a number of contributors that…
2
votes
1 answer

Unable to use UX Studio with java7 - upgrade to java8 not neccessary

After latest Demandware update I couldn't work with UX Studio anymore. I have found that java8 is now required. Since I don't want to install java8, is it any way to make it work with java 7?
Saša
  • 4,416
  • 1
  • 27
  • 41
2
votes
1 answer

Demandware: How to get promotion using shipping method ID

I been searching this through reading the documentation how to get the promotion attached to the shipping method which I am planning to use the shipping method ID as identifier. Looks like this code…
1
vote
3 answers

Error configuring pipeline debugger in Eclipse

enter image description hereI have been trying really hard to configure a pipeline debugger in eclipse. After using my digital server account in server configuration when i select my site and click 'Debug' button it gives me an error Could not…
1
vote
2 answers

Not able to go to the function definition with SFRA code in vs code

I am not able to go to the function definition while working with SFRA in vs code by any means (i.e Ctrl+Click, F12, Right Click --> Go to Definition ), In spite of having a definition it is showing as 'No definition found'. Can anyone please help…
1
vote
1 answer

/products/{id}/availability API endpoint only showing stock till 99?

I would like to get the complete stock value from the /products/{id}/availability API endpoint. But it only returns me stock till 99. Is there a way to get the complete stock from that endpoint?
Paul
  • 177
  • 2
  • 9
1
vote
1 answer

How to create a site using SFRA but name and ID would be my custom name and ID

Whenever I am creating a site following the steps in SFCC infocentre I am getting two sites with name as RefArch and RefArchGlobal but I want my site with my id and my name, I was able to do that by creating a custom site and then assigning the same…
Faizen
  • 21
  • 1
1
vote
2 answers

OCAPI: How to refresh token after expiration?

Trying to use Salesforce OCAPI from an app. On the JWT Auth documentation: https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=%2Fcom.demandware.dochelp%2FOCAPI%2Fcurrent%2Fusage%2FJWT.html A JWT has a lifetime of 30…
Alan Steiman
  • 412
  • 1
  • 4
  • 14
1
vote
2 answers

SFCC change password policies for customer

I'm on SFCC project , I'm wondering where to change the password policies for customers. Regards
1
vote
2 answers

Error while trying to debug demandware pipeline code using eclipse

After setting up the configuration for pipeline and clicking on debug in eclipse, I get this error. Errors occurred during the build. Errors running builder 'Digital Server Upload' on project 'DigitalServer'. Tree element '/' not found.
pawan
  • 125
  • 1
  • 6
1
vote
1 answer

How do I get notified of platform events in SFCC?

What is the typical way of handling events such as new customer registered, cart updated, order posted from a cartridge in SFCC B2C? Here I can see that some resources 'support server-side customization' by proving hooks, but the number of resources…
Vitaly Stakhov
  • 514
  • 3
  • 15
1
vote
3 answers

Get content asset by language id

I'm using Saleforce.com system to develop website, in default site I call and It's work. In admin page, I Select Language is English and in my code I want to call but it's not…
May'Habit
  • 1,334
  • 12
  • 18
1
vote
1 answer

Can Salesforce Commerce Cloud used as IDP to External Application

My requirement is to setup SSO between Salesforce Commerce Cloud B2C and BlackBoard/BrightSPace. Which means Salesforce Commerce Cloud will be IDP. So when I try to login to BlackBoard/BrightSPace then if should redirected to CommerceCloud for login…
Rav
  • 103
  • 1
  • 1
  • 8