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
0answers
16 views

Trouble fixing the search container margins on mobile

I'm having trouble fixing the margins on the mobile search bar on this site: https://agjeans.com/ While I'm able to implement changes on Chrome dev tools and have these changes actually work, for some ...
0
votes
0answers
11 views

app_storefront_base not uploading to sandbox

I am unable to upload app_storefront_base cartridge using prophet uploader to my sandbox, when I run the command, Prophet:Clean Project/ Upload All. All the other cartridges are uploaded, only the ...
0
votes
0answers
20 views

Salesforce Commerce cloud order export file not exporting xml files properly

I am new to SFCC. I am facing an issue with the order xml files, they are not exported correctly and miss some information from the order. I checked, it is exported through a system job step "...
0
votes
0answers
27 views

Commerce Cloud: How to get data field through API?

I can get data using below api. [Commerce api] https://{shortCode}.api.commercecloud.salesforce.com/customer/shopper-customers/{version}/organizations/{organizationId}/customers/{customerId}/product-...
0
votes
1answer
53 views

CloudCraze - Not able to place order using API [closed]

We are looking for standard/custom API place multiple order line items for the same product on the basis of different delivery/request dates. So far we have found CartItemGroup is the kind of relative ...
0
votes
1answer
24 views

How to prevent sgmf-scripts to scratch sensitive files?

Right now I’m developing a SFCC Commerce Cloud website. Referring to SFRA recommendations, I’m using the sgmf-scripts command to create, compile and upload custom cartridges. The problem is, each time ...
0
votes
3answers
177 views

New Behavioral Triggers No Data in Data Extension

Has anyone used these yet? Very new, they just released them within the past couple of months. I have collect tracking code installed and I am seeing that carts are tracking in Web and Mobile ...
0
votes
0answers
18 views

What means in a A/B testing to have no data for the parameter confidence level?

I did run an A/B testing in my online shop, and I received the reports of the testing. In the reports, there is no data for Confidence Level "CL". What does that mean? See the screenshot ...
0
votes
0answers
21 views

Is there a way to track sales made after customers engage in chat?

Is there any way to track sales that are made after engaging with an agent over chat? I am curious generally if there are any other salesforce customers that are using live agent chat for Sales, and ...
1
vote
1answer
110 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... [...
0
votes
0answers
57 views

Salesforce DemandWare Api issue

please help me.. I am getting access token from their basic oauth but after that when i am using this under (Sandbox create api) i am getting this error every time { "error": "invalid_token", ...
0
votes
0answers
138 views

Service Cloud Connector for Commerce Cloud B2C

I am working on setting up the connector between Salesforce Service Cloud and Commerce Cloud B2C using the files from the Order on Behalf toolkit found here: https://help.salesforce.com/articleView?id=...
0
votes
0answers
35 views

How to get notified if the job does not run at all in Sales force commerce cloud during the scheduled time?

I am new to Sales force commerce cloud and I am not a developer. I had today the problem that one of the export job was not running since yesterday release on the production site! I was therefore ...
1
vote
0answers
87 views

Basics: Salesforce vs Salesforce Commerce Cloud [closed]

I've been able to find all kinds of documentation about specific features as well as marketing materials on these two offerings, but I can't seem to find anything that's a basic breakdown of these two ...
0
votes
0answers
26 views

INVALID PRODUCT error on adding product to b2b storefront

I'm getting an error on adding my product to a storefront. It says: INVALID PRODUCT ss-dd-aa is not a valid product. Can't find any info on this and error is not so informative. I already refreshed ...
0
votes
0answers
35 views

Shopping cart freezes after adding a product with quantity more than 5 in B2B commerce cloud

Whenever I increase the quantity of a product to more than 5 in a cart and update it, the page breaks and the cart doesn't show up. This is happening only for one specific product. If I keep the ...
0
votes
1answer
55 views

How can I check if a customer is logged in?

I'm new to CC and in my home page I need to display a banner just if a user is logged in. I read the documentation and I think I need to work with customer groups (registered and unregistered), but ...
0
votes
0answers
16 views

Password less Auth for Commerce Cloud

We have users that already have passwords stored , can we use the below password less login for them in commerce cloud https://developer.salesforce.com/docs/atlas.en-us.externalidentityImplGuide.meta/...
1
vote
1answer
50 views

Add breadcrumbs to business manager

In my template I have this <isbreadcrumb name1="${pdict.MainmenuName}" url1="${TOP_URL}" name2="Foo" /> My breadcrumb should be Merchant Tools / Site Preferences / Foo. However I am only ...
0
votes
0answers
45 views

unable to hit the Home-Show controller directly on my site it is going to this custom error page “The requested URL was not found on this server.”

I am unable to hit the Home-Show controller directly on my site it is going to this custom error page "The requested URL was not found on this server." The Home.js controller is present in my ...
2
votes
1answer
162 views

Is there a way to get the current url action?

I am using URLUtils to generate URL's for a languages selector as per the documentation. However I want to use the current URL so that a redirect will go to the same page in a different locale. The ...
0
votes
0answers
161 views

How to print out values in an array in SFCC with ISML?

In my ISML: <isprint value="${sliderItems}" encoding="off" /> prints out a java object [Ljava.lang.String;@11ae444 as described in this question. How do I get it to print the separate values of ...
10
votes
1answer
385 views

BU structure for MultiCloud setup with Einstein (Marketing, Commerce, Sales/Service)

Challenge Are there any Best Practices or Solution Kits that give a guideline for BU setup for global Marketing Cloud setups, where Sales/Service Cloud and Commerce Cloud are involved? The specific ...
3
votes
1answer
65 views

How to return an array of folders?

I'm trying to return all possible folders with 'blog-content' in the ID, is there a method for this or a different way of doing this? So far I can only get one result if it is the exact match. Like so:...
3
votes
2answers
228 views

Displaying Custom 404 Error Page in Commerce Cloud

I've been trying to display a Custom 404 page in Commerce Cloud. The page has been created in the Cartridge because it was easier/faster doing it that way than having to recreate a full html page, zip,...
1
vote
0answers
85 views

OCAPI request length restriction

if I send a PATCH request for a customer resource (.../customers/xyz) with the following data: {"birthday":"11.11.1980","email":"max@mustermann.de","first_name":"Max","last_name":"Mustermann","title":...
0
votes
0answers
14 views

Inserting a script into content asset corrupts page header

I'm getting this corrupted code on the very top of pages that include a <script> tag in the body of an asset and it loks like this in the code: Any way to get around this?
0
votes
0answers
61 views

How do we know what version SFCC we are on?

Where does it say in business manager 19.8 for the api call below? https://dev1-xxx.demandware.net/s/-/dw/meta/v1/rest/data/v19_8
0
votes
0answers
44 views

Does Salesforce deal with product dimensions in any way?

My company is eyeballing various Salesforce products, and I'm investigating what kind of data cleanup we might have to do to integrate our existing ERP system. Do any Salesforce products, ...
2
votes
1answer
96 views

XSS in the content assets in SFCC

There is the following section in the SFCC documentation: Salesforce B2C Commerce 19.10 > Merchandising Your Site > Content Assets > Content Assets for Developers > Content Best Practices....
1
vote
0answers
75 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 ...
2
votes
0answers
94 views

Triggered Send SFMC from Commerce Cloud

I'm creating a connection between Marketing Cloud and Commerce Cloud to, amongst others, send an email based on an action occurred in Commerce Cloud. Is the process of setting up a triggered send ...
0
votes
1answer
132 views

How to escape HTML or AMPscript in AMPscript variables?

I was wondering what happens when a customer is putting html or scripts in his profile attributes on Commerce Cloud and he orders something and we send out an order confirmation email with those ...
0
votes
1answer
99 views

Importing Custom Object to Commerce Cloud

I've been following the instructions on the SFMC Connector repository, and one of those instructions says to "Import the metadata, custom objects, and jobs definitions into your B2C Commerce ...
0
votes
1answer
181 views

SFCC API to remove a product from the product set

Are there any SFCC API to remove a product from the product set? It is a very easy thing to do from BM: just go to the Product Sets tab, select a product set from which to remove, go to Products tab, ...
0
votes
1answer
176 views

Storefront of Salesforce Commerce Cloud

Is Storefront (Salesforce Commerce Cloud) made out of Visualforce page? Or we can use Web Technologies (Node, Angular, Bootstrap etc) to build the Storefront? Thanks
1
vote
1answer
151 views

Create a product from code in SFCC

Is it possible to create a product in code in Commerce Cloud?
2
votes
1answer
823 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 ...
0
votes
1answer
177 views

Commerce Cloud - How to Embed an Iframe Widget (JS script)

We have self-contained embeddable widget (via a simple <script> javascript tag) that can be placed on any regular HTML page. We'd like to embed this widget into Commerce Cloud, and it seems ...
3
votes
1answer
511 views

Encrypt unique ID in URL to Marketing Cloud Custom Preference Center Page from SF Commerce Cloud

I have a marketing cloud custom preference center cloud page posting and retrieving information directly from Sales Cloud based on Contact ID. The page is accessible only via email. But we would like ...
2
votes
1answer
1k views

Debugging object in isml

Is it possible to dump the entire contents of a var in an isml template. For example this gives me output: ${payment.paymentMethod} But if I want to debug the entire 'payment' object: ${payment} ...
1
vote
1answer
210 views

Stack trace reference in Salesforce Commerce Cloud

On my sandbox, in my logs, I got an error and I got a reference to the stack trace of the error: Stack trace <ref:a6d7f20c52ed080c41c1e8e66b1bac4f> Is it possible to find the stack trace ...
0
votes
1answer
242 views

API Client permissions

How can I create or how to obtain a 'Client Id' and 'Client Password' in order to authorize the API Explorer instance on the below URI? https://api-explorer.commercecloud.salesforce.com/?url=https://...
1
vote
1answer
150 views

How to stop the sfcc-inventory-pending_reservations-handle-orphaned job?

How to stop the sfcc-inventory-pending_reservations-handle-orphaned job? It seems that it is a system job, so I was not able to find it in the Administration - Jobs. The job is running infinitely ...
1
vote
1answer
383 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 ...
1
vote
1answer
205 views

Sitegenesis for SFRA

I am beginner in SFRA so I want to start with exploring Sitegenesis and Sitegenesis Global. Where can I get the Code and How can I set it up on my sandbox.
2
votes
1answer
426 views

Create new customer via OCAPI and send password to customer

I know that a can create a new costumer via OCAPI call: POST https://hostname:port/dw/data/v19_3/customer_lists/{list_id}/customers But in the Credentials document there is no password to be ...
0
votes
0answers
148 views

Successful REST API POST returns error

I am working with the SF Commerce Cloud Connector package. We've been struggling to get this set up right. At first, when we made our calls we were getting this error: [ { "errorCode": "...
3
votes
2answers
425 views

Passing encrypted email in url string for Commerce Cloud - Key Management

I need to utilize the encryptsymmetric ampscript function to pass an email through to Commerce Cloud that is encrypted. The guys on commerce cloud have generated a private and public key. I cannot ...
1
vote
1answer
99 views

Are Business Manager user and Job contexts mean the same in SFCC?

Are Business Manager and Job contexts mean the same in SFCC? I would like to perform OCAPI requests during a job execution. So, I am exploring the OCAPI setup. Here is the documentation excerpt: ...