Questions tagged [commerce-cloud]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
52 views

Price is showing Unavailable in B2B commerce in System admin profile

In Salesforce Commerce B2B after adding the price on product ,price is showing Unavailable in System admin profile but it is showing price in other profile user
user avatar
  • 23
0 votes
1 answer
37 views

How to display Product custom attributes on cart-show controller

I created one custom attribute called Estimated delivery date which I need to display on PDP and Cart-show page. It is accessible on pdp page as product object available. But how I can get that value ...
user avatar
  • 101
0 votes
0 answers
31 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
0 answers
30 views

What are the limitations of a "Log in as user" in salesforce

We were doing some tests with our experience site while using the "Log in as User" and we noticed that we couldn't navigate to our connected app's page properly, as it returns an ...
user avatar
0 votes
0 answers
5 views

How to mass import link to Attachments on Commerce Cloud

We have files with lists of products to import, where there are links to .pdf and .mp4 files that we have to import in the area represented in this picture, in the ‘Attachments’ area. We tried to ...
user avatar
0 votes
0 answers
30 views

How to navigate to a commerce cloud site from an experience cloud log in page

We're trying to redirect our users to the new commerce cloud page after logging in through the experience cloud log in page but it seems that the in order to properly redirect we need to have ...
user avatar
0 votes
0 answers
38 views

How do you quickly redirect from a salesforce site to an sfcc site upon log in

would like to ask how to implement a quick redirect to an sfcc site upon login from an sfdc site? we are implementing an sfcc customer page site, but we noticed that the session isnt being registered ...
user avatar
0 votes
1 answer
41 views

How do you connect your Salesforce site to your Salesforce Commerce Cloud site?

We are currently working on a Salesforce site and would like the user to get redirected to the Commerce Cloud version of the landing page upon logging in. We would like to know, if there are some ...
user avatar
0 votes
1 answer
21 views

Ability to add search keyword to article - SFCC

is there a way to add keyword search so products and articles will appear as a result at the same time? For example, black tea products will appear when a customer search for 'black tea', however we ...
user avatar
  • 13
0 votes
0 answers
25 views

Is there a way to calculate taxes on Orders That come from a connected system?

The Background: We have an org that's connected to an external system (ERP). Some of our orders (due to business requirements) need to be inputted through our external system, then pushed to ...
user avatar
3 votes
0 answers
130 views

B2B Experience site - Get Current CartId

I am developing LWC on a community site of b2b commerce. Is there a way to get the current cartId directly from the LWC or I have to get it from soql? note: I cannot get it from {!recordId} because ...
user avatar
  • 423
1 vote
1 answer
56 views

Sorting rule: display highest discount

is there a way to display highest discount value using sorting rule? For example, I want to show items that have the highest discount only - item A used to be $100 now $20, item B used to be $100 now $...
user avatar
  • 13
1 vote
1 answer
49 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
1 vote
1 answer
38 views

OCAPI: using expand parameters returns status code 400

Using the Coupon resource of the Data API, I am trying to get the count of the total codes and redemptions for a specific coupon. Unfortunately, when I use expand parameters redemption_count and ...
user avatar
0 votes
0 answers
103 views

Is it possible to delete cart and its cart items using CommerceCart api?

I've noticed that invoking CommerceCart.deleteCart method does not cascade the deletion on its Cart Items. Am I doing something wrong, or is it a correct behavior? The description of this method in ...
user avatar
  • 332
1 vote
0 answers
60 views

Is there a standard or pre-built inventory management for products in B2B commerce?

I have set up a store and integrated a checkout flow. But there doesn't seem to be a standard quantity field on the product or any available inventory object to calculate the product quantity. Am I ...
user avatar
1 vote
1 answer
22 views

productSearchHit is returned with empty allPromotionIDs

I want to leverage the data from the productSearchHit model: https://documentation.b2c.commercecloud.salesforce.com/DOC4/topic/com.demandware.dochelp/DWAPI/scriptapi/html/api/...
user avatar
  • 173
0 votes
1 answer
18 views

CommerceCloud - Navigation category visible for Registered users only

I'm trying to set up a category called "Category 1" which will only be visible for logged in users. The only way I can think of this working is with Customer Groups, however, I can't see any ...
user avatar
0 votes
1 answer
41 views

shipping promotion for a non selected shipping method

SFCC Storefront Reference Architecture SFRA shipping promotions. for a selected shipping method of a lineItemContainer (basket), i can get the active promotions : var PromotionMgr = require('dw/...
user avatar
  • 1
0 votes
0 answers
35 views

Ecommerce: how to make some products view only

In a Salesforce B2B eCommerce Lightning, how can I make some products visible but not available for purchase depending on user type, account attribute and product attributes ? Example) if a client (...
user avatar
  • 21
1 vote
1 answer
36 views

Error: You can add up to 5 000 Products to a Category

In Salesforce B2B eCommerce, when I try to add many of my products to a Product Category I recieve this error: "You can add up to 5 000 Products to a Category. Delete some Products and try again&...
user avatar
  • 21
7 votes
1 answer
185 views

Enable B2B Commerce in Existing Salesforce Org

We have a requirement, where one of the customers is using Sales Cloud with objects like Leads, Opportunity, Product, Pricebook, etc. Now they would like to use B2B commerce. We have a question ...
user avatar
  • 2,212
1 vote
1 answer
25 views

Salesforce Commerce checkout json carts object

I'm trying to get the cart products json object in the CheckOut page from the web page side. I see there's a dw.order property in the documentation but when inspecting the dw object using the web ...
user avatar
0 votes
1 answer
53 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
275 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
1 answer
110 views

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

I'm a beginner in SFCC and I'm hoping someone can point me to the right direction. What I want to do is to get the orders of all customers in my controller (my end goal would be to sort the products ...
user avatar
  • 1
0 votes
0 answers
45 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
1 answer
116 views

What does sgmf stand for in `sgmf-scripts`?

What does sgmf stand for in the name of the sgmf-scripts tool that is used for creating Storefront Reference Architecture overlay cartridges?
user avatar
0 votes
1 answer
31 views

Why does Commerce Cloud Sandbox show no page types on creation?

When I create a Commerce Cloud Sandbox, go to the Business Manager, and go look at the storefront, I can see a basic, starting UI. However, when I then go to Page Designer, it tells me that there are ...
user avatar
1 vote
1 answer
257 views

SFCC - Custom Controller and oAuth

I am creating a custom controller for a SFCC Commerce Cloud store. Because I need to have communication with Third-party systems, I created a custom REST API controller to be able to receive some ...
user avatar
  • 31
1 vote
1 answer
103 views

Commerce Cloud Controller Authentication

I did a controller inside commerce cloud in order to update the order from the external Order Management Service. Then controller inside the Commerce Cloud will receive the order details by a POST ...
user avatar
  • 31
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
2 answers
792 views

HTML5 video tag doesn't work on iPhone/Safari (SFCC)

I'm struggling with this: HTML5 video tag is not working on iPhone (Safari). This is my code: <video class="video" controls="" loop="" muted="" playsinline=&...
user avatar
0 votes
1 answer
132 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
0 answers
61 views

Commerce Cloud Bundle Price is null and can't add to cart

In commerce cloud, when adding a Variation Master product to the bundle, the price is showing null and I can't add to cart even after selecting the variant. Is there something I'm missing here?
user avatar
  • 11
0 votes
1 answer
23 views

How to know through storefront website of Salesforce Commerce Cloud where Einstein is configured and providing results or not?

Through Salesforce Commerce Cloud Storefront websites, i would like to know whether particular websites running showing more results where Einstein is configured and providing results or not? Can ...
user avatar
  • 113
1 vote
0 answers
90 views

How to install Einstein module in Salesforce Commerce Cloud?

Does anyone how to install and upload Einstein module on the Salesforce commerce cloud? Till now, i went through trailblazers some documentation but I could not any relevant information on that topic. ...
user avatar
  • 113
0 votes
1 answer
70 views

What is the use of the dwTemplateURL="http://localhost:60606/target=" calling from templates?

On each item listing page and other pages well I can see dwMarker, dwPipelineURL, dwTemplateURL and dwTemplateTitle in the comment section. Can anyone let me know what is the usefulness of this ...
user avatar
  • 111
2 votes
0 answers
95 views

SFCC - How show products from Stored Basket?

I have the situation: The Stored Basket (registered customer) is merging with the current Basket (anonymous customer), this is ok, but i need to highlight the products from Stored Basket to the ...
user avatar
2 votes
1 answer
318 views

New behavioral triggers Abandoned Cart block showing one product twice with regular and sales price

We are using the new Behavioral triggers block and we are having an issue... Most of the time, the product is showing twice. It appears to be showing the Master and Variant from the catalog. But I ...
user avatar
  • 814
1 vote
0 answers
21 views

SFCC- create categories with "sorting_rule" property does not work via API

As mentioned in the API Explorer with version 21.3 For the Create categories API i.e PUT/catalogs/{catalog_id}/categories/{category_id} The sample request-body mentioned in the documentation is { &...
user avatar
1 vote
0 answers
40 views

SFCC update payment instruments using REST API

As mentioned in the API Explorer with version 21.3 For the Update payment instruments API i.e PATCH /sites/{site_id}/orders/{order_no}/payment_instruments/{payment_instrument_id} The sample request ...
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
0 votes
1 answer
48 views

Email Journey to support segmentation, multiple storefront branding themes?

I am currently trying to integrate Marketing Cloud with our website repository to set up automated Abandoned Cart emails. I am trying to figure out if it's possible to add customized data alongside ...
user avatar
1 vote
1 answer
263 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
1 vote
1 answer
670 views

Overlaying CSS files with dependencies in an SFCC cartridge

I have a new sandbox with the base SFRA code installed on it. I also have my own cartridge, which has successfully overwritten some .isml template files. My code structure looks like this: project-...
user avatar
  • 115
0 votes
2 answers
919 views

Creating a custom variation attribute in SFCC

I'm trying to create a custom variation attribute for products in Salesforce Commerce Cloud. There are already attributes like "color", "size", "batteryLife", etc. I want ...
user avatar
  • 115
0 votes
2 answers
273 views

SFCC: scheduled jobs are not running in sandbox

Noob question here. I have created a job in Sandbox which I set up to run every 1 minute. The job never runs automatically though. I checked the docs section here but was not able to find any clues or ...
user avatar
1 vote
2 answers
668 views

Add cart in the commerce cloud test class : ConnectApi methods are not supported in data siloed tests

If we use ConnectApi.CommerceCart.addItemToCart , exception occured : System.UnsupportedOperationException: ConnectApi methods are not supported in data siloed tests. Which method or class to use to ...
user avatar