Skip to main content

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
2 answers
35 views

Can site browsing data be exported?

I'm new to Salesforce Commerce Cloud, so I apologize if this question has answers elsewhere. I tried searching for this, and I couldn't find anything. In Salesforce Commerce Cloud, is there a way to ...
Ben Rubin's user avatar
  • 101
-1 votes
0 answers
21 views

Experience Cloud Shows Single Sign On Error When hyper link is clicked

I have a LWC app that works in both Salesforce lightning and Experience Cloud. One key feature of component is to redirect users to a record page when a link is clicked. This works flawlessly in ...
Mike's user avatar
  • 29
1 vote
0 answers
12 views

B2C Connector Deployment Is Failing (Linking Commerce Cloud With Data Cloud)

we were setting up the data cloud in local using the doc : https://salesforce.quip.com/SdTXAqEsHUqW we did setup the data streams and deployed it, but the last run status is coming as failure with ...
Paras Saini's user avatar
0 votes
1 answer
133 views

How to Fetch and Create Managed Content via API or Apex?

I'm working on an Integration and, need to Fetch and Create Managed Content (Product Media). To fetch/get Managed Content data: I'm using API "/connect/cms/delivery/channels/channelId​/media/...
Anurag's user avatar
  • 1
0 votes
0 answers
20 views

Add to chart error

In a recently created SFCC sandbox org, I am trying to add a product in my chart and receiving the error on the console: [ { "errorCode": "ILLEGAL_QUERY_PARAMETER_VALUE", "...
Maktub's user avatar
  • 1
0 votes
0 answers
41 views

How to set Shipping Calculation in Salesforce Commerce App Store Object

I am trying to setup a store in Salesforce Commerce App, But it gives me below error when I try to add a zone Only documentation I can find is : https://help.salesforce.com/s/articleView?id=sf....
Kankshit Adhaulia's user avatar
0 votes
1 answer
135 views

ManagedContent how to create records?

I'm working on a Salesforce Apex code where I'm trying to create a new record of a custom object (ProductMedia) and assign it the Ids of other records (Product2 and ManagedContent). However, I'm ...
André 's user avatar
0 votes
1 answer
48 views

Query orders from other sites in Commerce Cloud

We are developing in Commerce Cloud 2 sites, one to be viewed on a desktop browser, and another to be viewed on a webview inside a react-native app. We are using OrderMgr.searchOrders() to fetch the ...
Diogo Gonçalves's user avatar
0 votes
1 answer
174 views

SFCC: Using searchOrders() or queryOrders() and how to page?

When I use searchOrders() there is a limit of 1,000 orders, but I need to retrieve all orders. So, I tried using queryOrders() even though I knew it will deprecate soon. But the fact is that the ...
LuizEduardoMPF's user avatar
0 votes
0 answers
37 views

Loops are not handled in a Business Manage template

I'm creating a module for Business Manager, but when I render the template and try to use pdict to loop it, it works for the first loop, but only one loop per render. If there is more than 1 loop in ...
LuizEduardoMPF's user avatar
0 votes
1 answer
47 views

Commerce Cloud Pop up Discount code

How do I make this popup Dynamic so I can change the discount code from the BM instead of changes in ISML? ISML <div id="discountPopup" class="hidden"> <p>Use code &...
TSCAmerica.com's user avatar
0 votes
1 answer
83 views

Not able to add WishlistItem with same Product ID in a Wishlist (B2B Commerce)

For one of the B2B org, we have a requirement to add custom fields (Quantity__c and Product_Type__c) in the WishListItem object. With ConnectApi.CommerceWishlist.addItemToWishlist(), we can't set the ...
Ashish's user avatar
  • 2,372
0 votes
0 answers
138 views

update the quantity and price of of OrderItemSummary

It possible to update the quantity and price of of OrderItemSummary or add new product to order and its order product summary once order is created using connectAPI in commerce cloud. As we have split ...
Anu's user avatar
  • 3,879
0 votes
1 answer
247 views

Getting error [{"errorCode":"NOT_FOUND","message":"The requested resource does not exist"}]

I want to update the order summery item price and quantify, to archive it i am trying to follow below solutions none of them worked for me. Do anyone here have any idea on what is the issue I am ...
Anu's user avatar
  • 3,879
0 votes
0 answers
44 views

Debug user movement on store to reproduce error on local environment?

I am in a situation where I am encountering an error on my sandbox environment, I know how to trigger it, but I don't know what is throwing that error. Is possible to somehow log everything from when ...
Carlton Banks's user avatar
0 votes
0 answers
149 views

Test Class - Testing Updates

I had to add a couple of updates to my class and now I'm only at 69% code coverage. How do you write tests when you are simply doing an update? I feel like I'm overthinking it, but then maybe not ...
Heather's user avatar
  • 63
0 votes
1 answer
518 views

Salesforce product variant are not shown - only simple products are shown?

I've have set up a store in Salesforce, where I for now have been listed "simple" products. These are have been shown shown in the store without any problems, the now occur after having ...
Carlton Banks's user avatar
0 votes
0 answers
117 views

When creating new site, b2b commerce lightning template gives error

I am trying to create a new site from all sites. If I choose B2B Commerce (LWR) template, it gives me an error when site setup. An unexpected error occurred. Try again or contact your Salesforce ...
ozanozaydemir's user avatar
0 votes
0 answers
81 views

Salesforce Commerce Cloud Payment Setup Issue

We are trying to setup the Salesforce Out of the Box Payment procedure for a B2B Commerce store created in LWR Template by following the below Salesforce Help Document. https://help.salesforce.com/s/...
AJMAL KUNHI PARAMBATH's user avatar
0 votes
0 answers
58 views

how to assign role to the pporal user in commerce b2b cloud

public without sharing class CreateAccountContactUser{ @InvocableMethod(label='Create_Con_User' description='Contact User') public static void processRecords(List<FlowInput> inputs) { ...
MUTHU KUMARAN D's user avatar
0 votes
1 answer
75 views

Converting a custom xml attribute to a useable AMPscript valuue

I am using several AMPscript blocks to import xml order data from Commerce Cloud into a Marketing Cloud Data Extension, ex: set @P18_orderno = concat("//order/product-lineitems/product-lineitem[...
ben Herosian's user avatar
0 votes
1 answer
124 views

Commerce Cloud API retrieve list of site names

Folks, Is there a commerce cloud end point to retrieve a list of sites? I can't find anything in their documentation. There is a list of channels when you retrieve client ids but is that even best ...
SavvyGoat's user avatar
  • 105
0 votes
1 answer
108 views

EU discount product regulation - Omnibus

I have to update pricing information display: For any promotional activation, when a promotional pricing is available, pricing from the last 30 days should be displayed. Is there an existing cartridge ...
Federico's user avatar
-1 votes
1 answer
826 views

B2B lightning checkout flow(standard)

does anyone had worked on B2B lightning checkout flow(standard) in salesforce. I got this error when click on checkout button I have selected Shipping address from Contact point Address also Something ...
Lalit's user avatar
  • 1
0 votes
1 answer
2k views

Alternative method for Creation Order Summary

My requirement was to create test class for Creating Order Summary. Test data was created using ConnectApi.OrderSummaryCreation.createOrderSummary. But if I use ConnectApi, I was forced to use (...
Aiswarya Sajithkumar P's user avatar
-1 votes
1 answer
161 views

Adding a new field to the product index

I'm looking to add a new field to the list of indexed fields on the product index so I can use it as a filter. I haven't been able to find this option anywhere. Any help would be appreciated!
Jimmy Johnson's user avatar
0 votes
1 answer
147 views

Installing/Configuring SFRA on Mac

So i am having trouble installing SFRA on Mac i am currently referring this documentation where it says Cloned all the repository from git that includes (storefront-reference-architecture, ...
Aman Patil's user avatar
1 vote
2 answers
435 views

B2B Commerce Cloud related Product

I am trying to add related product for a parent product. I have set up a parent and child product in commerce cloud with product relationship object. But when i select the parent product form ...
Anu's user avatar
  • 3,879
1 vote
1 answer
527 views

How to remove .html extension from URL in SFCC B2C

I'm trying to accomplish something here with Page Designer but haven't got there yet. I need to remove the page .html extension from Page Designer's generated url. Here is an example. I've got the ...
John Lenon Nascimento da Silva's user avatar
0 votes
1 answer
205 views

Salesforce b2b commerce CMS

Is there any way we can get the URL of an image uploaded in the CMS workspace so that we can make use of it in the experience site?
Sachin Vispute's user avatar
1 vote
0 answers
246 views

salesforce commerce - checkout flow - payment - "purchase now" button won't execute apexAdapter

My problem occurs during a screen flow (Checkout flow). The "Submit Payment" button (which is part of a the payment component) doesn't execute anything while it should execute (for my ...
sagish's user avatar
  • 11
0 votes
1 answer
64 views

PWA Toolkit for Commerce Cloud

We have a usecase for a dealer quote submission app on mobile devices. Mobile publisher is not being preferred by client. Is it possible to use PWA toolkit for B2C Commerce Cloud published by ...
Cloud Man's user avatar
  • 1,357
0 votes
1 answer
111 views

How to create system object definition of enum of strings using OCAPI

I want to create a system object definition using the OCAPI. The value type need to be enum_of_string, and I'm trying to use this payload: curl --location --request PUT '<host>/s/-/dw/data/v20_4/...
waghcwb's user avatar
  • 105
0 votes
1 answer
251 views

What is the limit (length) of an order's notes?

When I am adding a note to an order. order.addNote('Title of the note', JSON.stringify(result, null, 2)); I am getting this error: Text length 4103 > 4000 I didn't find any explanation for this in ...
LuizEduardoMPF's user avatar
0 votes
1 answer
171 views

SFCC Salesforce Payments: is it possible to have GooglePay button on FireFox browser?

Do you know if it's possible to have GooglePay express checkout on FireFox browser (desktop or mobile), with configured GooglePay in Salesforce Payments? Look like it's not supported, but some ...
Maksym Radchenko's user avatar
-1 votes
1 answer
196 views

How to go back to previous page after login?

How can i modify the logic to redirect the customer to last visited valid page. For example when customer is in PDP and logs in, they should be redirect back to PDP and not the account page
eri's user avatar
  • 1
0 votes
1 answer
630 views

How to add an object into another object - ES5

var filters = {'sort': 'asc', 'query': 'id=1'}; var data = {}; data.search = {'type': 'manual'}; Object.assign(data.search, filters); When using ES6 this code works correctly. But when it's in ES5 I ...
LuizEduardoMPF's user avatar
1 vote
1 answer
33 views

Terminal error (esLint) related to hasOwnProperty when compiling

Even the code working good… i am getting this error on terminal. if (response.product.hasOwnProperty('availabilityForPickup') { //Do something... } Do not access Object.prototype method '...
LuizEduardoMPF's user avatar
1 vote
2 answers
537 views

How to check which controller a request is coming from?

Can anyone give any clues on how I can check if a request is coming from a specific controller? I meant, to meet this requirement: As the order model gets loaded whenever the customer has an ...
LuizEduardoMPF's user avatar
-1 votes
1 answer
74 views

Email recommendations Marketing cloud - Commerce Cloud [closed]

Do I need to have Commerce Cloud in order to use Einstein Email Recommendations? Thanks
Gio's user avatar
  • 21
0 votes
1 answer
776 views

Pulling the file on Webdav to local in salesforce commerce cloud

I want to extract my file ,which is kept in a certain directory on webdav, to local with code. I was able to create a sample link to download it, but I can't pull it to my local by sending an http get ...
Emin Soner TÜRK's user avatar
1 vote
1 answer
33 views

List of installed certificates from BM and their expiration

I want to add some external system monitoring for certificates, listed on "Private keys and Certificates" in commerce cloud BM. Basically I need "Alias" and "Valid to" ...
Anna's user avatar
  • 11
0 votes
1 answer
597 views

How to convert SFCC custom class to JSON format

Is there any way to convert a custom class eg: dw.customer.CustomerAddress to JSON format and return the value in a controller? If I just return the attribute I'm receiving an empty object. I know I ...
waghcwb's user avatar
  • 105
0 votes
1 answer
384 views

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

I am working on a function that deals with reviewing the product class promotions, and obtaining the list of the products to which it applies. var promotion = PromotionMgr.getPromotion("alimento-...
Misael Gomez's user avatar
-1 votes
1 answer
1k 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
htyagi1's user avatar
  • 31
0 votes
1 answer
651 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 ...
Urvashi's user avatar
  • 101
0 votes
1 answer
237 views

Search Customer Profiles by null custom attribute value

I have created a new custom attribute in Profile Object. It is a boolean attribute. Now I need to retrieve all customers without that attribute (null) or with that attribute value being false. I have ...
David Medina's user avatar
0 votes
0 answers
270 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 ...
Cancel Ed's user avatar
0 votes
1 answer
167 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 ...
Cancel Ed's user avatar
0 votes
1 answer
165 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 ...
Eleanor's user avatar
  • 23