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

productSearchHit is returned with empty allPromotionIDs

I want to leverage the data from the productSearchHit model: https://documentation.b2c.commercecloud.salesforce.com/DOC4/topic/com.demandware.dochelp/DWAPI/scriptapi/html/api/...
0
votes
0answers
10 views

CommerceCloud - Navigation category visible for Registered users only

I'm trying to set up a category called "Category 1" which will only be visible for logged in users. The only way I can think of this working is with Customer Groups, however, I can't see any ...
0
votes
0answers
21 views

shipping promotion for a non selected shipping method

SFCC Storefront Reference Architecture SFRA shipping promotions. for a selected shipping method of a lineItemContainer (basket), i can get the active promotions : var PromotionMgr = require('dw/...
0
votes
0answers
22 views

Ecommerce: how to make some products view only

In a Salesforce B2B eCommerce Lightning, how can I make some products visible but not available for purchase depending on user type, account attribute and product attributes ? Example) if a client (...
0
votes
1answer
17 views

Error: You can add up to 5 000 Products to a Category

In Salesforce B2B eCommerce, when I try to add many of my products to a Product Category I recieve this error: "You can add up to 5 000 Products to a Category. Delete some Products and try again&...
7
votes
1answer
66 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 ...
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
15 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
69 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
26 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
58 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
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 ...
1
vote
1answer
97 views

SFCC - Custom Controller and oAuth

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
1answer
46 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
1answer
31 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
2answers
193 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
57 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
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?
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
43 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
38 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
44 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
42 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
167 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
19 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
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.
1
vote
0answers
25 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
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
1
vote
0answers
21 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
70 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
40 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
126 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
313 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
428 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
138 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
355 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
66 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
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
147 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
86 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
1answer
173 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
45 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
412 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
28 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
479 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... [...