Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 73973

Salesforce Commerce Cloud is a Salesforce Cloud product made up of multiple products, including B2C Commerce, B2B Commerce, and Order Management.

0 votes

Accessing Order History of All Customers Results in [Unauthorized access to order 'orderNo' ...

By default, multiple security options are enabled to prevent unauthorized access to orders that do not belong to you (or the session). This is documented here: https://documentation.b2c.commercecloud. …
Thomas Theunen's user avatar
1 vote

productSearchHit is returned with empty allPromotionIDs

Have you enabled the option in Search Preferences to index promotions? This is documented here: https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/content/b2c_com …
Thomas Theunen's user avatar
0 votes

Ability to add search keyword to article - SFCC

Commerce Cloud B2C provides (both in search results & suggestions) the possibility to show content (Assets & Page Designer Pages). You need to mark these items as "searchable" before they begin to sho …
Thomas Theunen's user avatar
0 votes

How to display Product custom attributes on cart-show controller

To get certain attributes available on the 'view' in SFRA for products, you need to add your attribute to the model. This requires customizations to the code. https://github.com/SalesforceCommerceClou …
Thomas Theunen's user avatar
2 votes
Accepted

Sorting rule: display highest discount

Unfortunately, you will have to have a custom attribute on the products to sort them based on the discount. You can, however, enable a "Promotion Refinement" via a feature switch and some code changes …
Thomas Theunen's user avatar
2 votes
Accepted

How to convert SFCC custom class to JSON format

Serialization does not work on "SFCC/Demandware" objects; you need to convert them to a model (Javascript Model Class) for serialization to JSON to work. An example of such a model can be found here: …
Thomas Theunen's user avatar
0 votes

PWA Toolkit for Commerce Cloud

As the basis of the Composable Storefront is a React SPA, you can build whatever you want on it as long as there are APIs available! So yes!
Thomas Theunen's user avatar
1 vote
Accepted

Commerce Cloud Pop up Discount code

Since last year, there is the possibility of fetching all active promotions, ignoring the coupon requirement: PromotionMgr.getActiveCustomerPromotions(ignoreCouponCondition : boolean); Using the abov …
Thomas Theunen's user avatar
0 votes

CommerceCloud - Navigation category visible for Registered users only

There's no out-of-the-box feature available for this. You can use customer groups, but a dummy promotion will have to be set up to work around caching. And there is no field on categories; you will ha …
Thomas Theunen's user avatar
0 votes

shipping promotion for a non selected shipping method

Unfortunately, the promotion configurations have so many options that some are not exposed through the API. Configurations like excluded/included products are not available in the Javascript API.
Thomas Theunen's user avatar
1 vote
Accepted

How to know through storefront website of Salesforce Commerce Cloud where Einstein is config...

There is a browser plugin available for this (Chrome): https://chrome.google.com/webstore/detail/commerce-cloud-recommenda/dobmbolmcejainkefklnpkjbaibgjihn Though this allows you to verify if you conf …
Thomas Theunen's user avatar
0 votes

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

Technically any messaging system can fetch or push data towards Commerce Cloud B2C by using the out-of-the-box OCAPI / SCAPI Rest API. There is no need for a "cartridge" unless you want to build parti …
Thomas Theunen's user avatar
2 votes

Salesforce Commerce checkout json carts object

To get access to the current basket, you can use the BasketMgr: https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/DWAPI/scriptapi/html/api/class_dw_order_BasketM …
Thomas Theunen's user avatar
0 votes
Accepted

bcrypt in Commerce Cloud

Unfortunately, bcrypt is written in C++. Node.JS can work with this, but not the server-side engine (Rhino) that Salesforce Commerce Cloud B2C runs on. All supported functions related to cryptography …
Thomas Theunen's user avatar
0 votes

How to get the list of products of a product promotion class?

This information is not obtainable from the promotion side. This for a custom module in the Business Manager to validate promotions?
Thomas Theunen's user avatar

15 30 50 per page