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
12 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
33 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?
0
votes
0answers
10 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
0answers
27 views

Custom Controller OAuth Authentication

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 ...
1
vote
0answers
23 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 ...
0
votes
0answers
23 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
17 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
2answers
116 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=&...
0
votes
1answer
36 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 ...
1
vote
0answers
17 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?
0
votes
0answers
8 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
27 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
1answer
23 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 ...
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
30 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 ...
1
vote
0answers
30 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
1answer
106 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 ...
1
vote
0answers
15 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 { &...
0
votes
0answers
19 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.
1
vote
0answers
22 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 ...
0
votes
0answers
23 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
1
vote
0answers
19 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 ...
0
votes
0answers
51 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
22 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
36 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 ...
1
vote
1answer
87 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 ...
1
vote
1answer
185 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-...
0
votes
2answers
280 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 ...
0
votes
2answers
101 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 ...
0
votes
1answer
248 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 ...
1
vote
0answers
58 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 ...
0
votes
0answers
17 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
96 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
73 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
45 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
161 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
44 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
2answers
379 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
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 ...
1
vote
1answer
405 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
194 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
1answer
70 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 ...
1
vote
1answer
80 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
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 ...
2
votes
1answer
340 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 ...
11
votes
1answer
550 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
71 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:...
4
votes
2answers
512 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
150 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":...