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
17 views

(B2B commerce Lightning) Copy production org store to scratch org

I configured a store on my production org. How can I retrieve and push this store to a scratch org so I can work on it and test new developments and be able to deploy the changes to production later. ...
0
votes
0answers
6 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
5 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
18 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
18 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
56 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
11 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
17 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
17 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
21 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
15 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
28 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
19 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
32 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
55 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
71 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
135 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
66 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
133 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
55 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
72 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
61 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
43 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
124 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
41 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
326 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
23 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
23 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
320 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
87 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
507 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=...
1
vote
0answers
160 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
63 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
74 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
57 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
279 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 ...
10
votes
1answer
503 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
69 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
408 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
123 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":...
2
votes
1answer
138 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
113 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
132 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
166 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 ...
1
vote
1answer
157 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
268 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
276 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
2
votes
1answer
218 views

Create a product from code in SFCC

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