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.

41 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
19 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 ...
2
votes
0answers
148 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 ...
2
votes
0answers
109 views

Alternative of the Java function setFeature(String, boolean)

I am trying to work on the XXE Loophole recently found for wechat. There are codes given in the link provided by the clients to check whether the website is effected by this bug. Here is that link. ...
1
vote
1answer
42 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 ...
1
vote
0answers
21 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?
1
vote
0answers
39 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 ...
1
vote
0answers
18 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 { &...
1
vote
0answers
24 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 ...
1
vote
0answers
20 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 ...
1
vote
0answers
65 views

Geolocation class is not working

I'm trying to use the Geolocation class and trying to get the Longitude value of my current location. But I'm getting null always. I came to know from the documentation that I'll need to enable ...
1
vote
1answer
445 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... [...
1
vote
0answers
156 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":...
1
vote
0answers
143 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 ...
1
vote
1answer
107 views

What Open Commerce API settings result in wide open access for a client-id?

When configuring Open Commerce API settings is there a configuration that would provide read and write access to all resources? Something like: { "_v":"18.3", "clients": [ { "...
0
votes
0answers
11 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 ...
0
votes
0answers
12 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 ...
0
votes
1answer
35 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 ...
0
votes
0answers
23 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 ...
0
votes
0answers
16 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 ...
0
votes
1answer
18 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 ...
0
votes
1answer
29 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 ...
0
votes
0answers
21 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 ...
0
votes
1answer
51 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 ...
0
votes
0answers
9 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 ...
0
votes
0answers
39 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. ...
0
votes
0answers
10 views

SSL issue in Salesforce Commerce Cloud in https domain

I'm using Salesforce Commerce Cloud sandbox for internal purpose. Right now, URL looks much lengthy so for one of the instance I would like to setup the custom domain for it. So I have configured the ...
0
votes
0answers
6 views

How to check/observe on code level whether Custom Preferences are saved Merchant Tools -> Site Preferences for specific group?

Does any one knows any method/classes that can be used to check/observe whether Custom Preferences are saved for specific group. There is "Default List Price Book ID(listPriceDefault)" ...
0
votes
0answers
34 views

how to trigger Add to cart programmatically in sales force cloud for custom product listing

On home page, I have added custom listing section(trending now) rendering from third party system. Now I want to write JS script code that will trigger Cart-AddProduct SFCC action and item should be ...
0
votes
0answers
21 views

How to add Action Button in Site Preferences in SFCC

On Site Preference, I would like to add one action button that will check connection status with the some other third-party system.
0
votes
0answers
24 views

SFCC - Unable to update shipping address for an order using API

I have an order with shipment ID:00000001 and I am trying to update the shipping address of this order using API with version 21.3, the API throws an error saying shipment not foundas shown below
0
votes
0answers
65 views

SFCC update order using REST API

As mentioned in the API Explorer with version 21.3 For the Update Order API i.e PATCH /sites/{site_id}/orders/{order_no} The sample request mentioned in the documentation is order_update_request{ ...
0
votes
0answers
27 views

How to get product type (Variation/Master/Bundle) from Product

I already have cartridge that does load the product attribute mapping via Site Preferences. I would like to Export product Type such as Variation/Bundle/Master/Simple Product information so how i can ...
0
votes
1answer
323 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 ...
0
votes
0answers
18 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
123 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
79 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
49 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
0answers
27 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
1answer
78 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
71 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 ...
0
votes
0answers
181 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": "...