Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [b2b-commerce]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
59 views

Price is showing Unavailable in B2B commerce in System admin profile

In Salesforce Commerce B2B after adding the price on product ,price is showing Unavailable in System admin profile but it is showing price in other profile user
user avatar
  • 21
0 votes
0 answers
17 views

LWC: Instanciate out of the box child component in a custom component after an action is completed?

I'm wondering if it's possible to have a parent component load a child Salesforce provided LWC. The use case is: I have a B2B Store and I would like to load the Product Details component only after a ...
user avatar
0 votes
0 answers
30 views

What are the limitations of a "Log in as user" in salesforce

We were doing some tests with our experience site while using the "Log in as User" and we noticed that we couldn't navigate to our connected app's page properly, as it returns an ...
user avatar
0 votes
1 answer
116 views

ConnectApi.CommerceCatalog.getProduct on inactive product

I am working on a B2B commerce project and I have issues with deactivated products (IsActive=false) https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/...
user avatar
  • 55
0 votes
0 answers
38 views

How do you quickly redirect from a salesforce site to an sfcc site upon log in

would like to ask how to implement a quick redirect to an sfcc site upon login from an sfdc site? we are implementing an sfcc customer page site, but we noticed that the session isnt being registered ...
user avatar
0 votes
0 answers
17 views

How to remove Case Number from case submission on experience?

Hopefully an easy question to answer. Using the standard Contact Support Form component in a B2B Commerce experience site, cases will not be visible to users. The default Contact Support confirmation ...
user avatar
3 votes
0 answers
138 views

B2B Experience site - Get Current CartId

I am developing LWC on a community site of b2b commerce. Is there a way to get the current cartId directly from the LWC or I have to get it from soql? note: I cannot get it from {!recordId} because ...
user avatar
  • 423
0 votes
1 answer
67 views

Getting current user's cart in json on front end?

I'm trying to design a widget for user on https://www.michaels.com/ which is a demandware site. And I do see an API that would in theory allow me to do this described here: https://documentation.b2c....
user avatar
  • 101
0 votes
1 answer
105 views

B2B Commerce Lightning Custom vs Standard components [closed]

I seek advice on what would be the best approach to take and if anybody maintains custom components which are almost copies of standard components. I'm working on the shop where Search Product Results ...
user avatar
0 votes
0 answers
28 views

How to customize system generated friendly message "This product has a maximum purchase limit. Check quantity limits." in b2b commerce store

Quantity rules are assigned on the product, when I try to add more products mentioned message is popping up, how to customize this message?
user avatar
  • 3
0 votes
0 answers
79 views

Deploy Digital Experience from Scratch Org to a Sandbox

We have created a digital experience in a Scratch Org and retrieved the source metadata. When we are trying to deploy the converted source medatadata to a Sandbox the following error is presented: ...
user avatar
  • 1
1 vote
1 answer
38 views

OCAPI: using expand parameters returns status code 400

Using the Coupon resource of the Data API, I am trying to get the count of the total codes and redemptions for a specific coupon. Unfortunately, when I use expand parameters redemption_count and ...
user avatar
0 votes
0 answers
107 views

Is it possible to delete cart and its cart items using CommerceCart api?

I've noticed that invoking CommerceCart.deleteCart method does not cascade the deletion on its Cart Items. Am I doing something wrong, or is it a correct behavior? The description of this method in ...
user avatar
  • 332
1 vote
0 answers
60 views

Is there a standard or pre-built inventory management for products in B2B commerce?

I have set up a store and integrated a checkout flow. But there doesn't seem to be a standard quantity field on the product or any available inventory object to calculate the product quantity. Am I ...
user avatar
0 votes
1 answer
67 views

Assign/Remove Buyer Group using apex in B2B Lightning Commerce?

Could you please someone explain the relationship between Buyer Group and account ? I am trying to assign/remove a Buyer group to an account, but not able to assign using Apex. Thanks in Advance.
user avatar
  • 2,281
0 votes
1 answer
231 views

Payment Gateway Authentication

I am trying to setup B2B Commerce Payments to use a Cyber Source Payment Gateway that I have already implemented but am having issues with the authentication. The Cyber Source API that my Payment ...
user avatar
0 votes
0 answers
35 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 (...
user avatar
  • 21
1 vote
1 answer
36 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&...
user avatar
  • 21
3 votes
1 answer
166 views

Pushing Lightning Component Metadata Between Experiences?

We are using Experience Cloud with B2B Commerce and are intending on going live very soon. Our marketing department will be handling metadata changes in our components (eg. we have a banner LWC which ...
user avatar
7 votes
1 answer
187 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 ...
user avatar
  • 2,212
0 votes
1 answer
117 views

How to get the redirect url, when we clicked on "Log is as user experience" in contact

we have external system when they login in their system and click on button(it will redirect to our community page). In our contact object, we have button "Log is as user experience". when ...
user avatar
0 votes
0 answers
14 views

Default Sort value data is not loading in CC Cart

I have customized Sort values on the Cart page. But unfortunately, the default value data is not loading on CC Cart Page loads. Could some please help me where I need to check.
user avatar
1 vote
0 answers
73 views

ConnectApi.ConnectApiException : commerce.exception.CommerceException: Error fetching Promotions Associated to this Cart

I am having an issue in my sandbox that is already upgraded to the Winter 22 (api 53) which I will have to fix before it is deployed into the production instance (In October). Basically (B2B Commerce) ...
user avatar
  • 55
0 votes
1 answer
203 views

Unable to create Scratch Org with B2B Commerce Lightning

I get the error when creating the scratch org: Commerce.settings Not available for deploy for this API version I'm using a Dev Hub based on an org that has B2B Commerce on Lightning Experience and I'...
user avatar
1 vote
0 answers
57 views

How to migrate B2B store from sandbox to production?

Does anyone have an idea deploying b2b store configuration and components from sandbox to production? If you provide a document or any procedural steps that could be more useful Thanks
user avatar
  • 3
0 votes
1 answer
44 views

How do you maintain an org development cycle with a B2B LEX store?

The documentation for store migration in B2B LEX does not appear to let you properly use a 3-tier org development cycle; if you follow the directions to the letter you can end up with an Experience ...
user avatar
0 votes
0 answers
39 views

Redirect User to Home Page after verifying email

When the email address is changed, a verification link is sent to the new email. After clicking the Continue button, the user is redirected to the login page. How I could edit where the Continue ...
user avatar
  • 1
0 votes
0 answers
23 views

Modify Asynchronous Checkout Loading Screen Pages in B2B Commerce

Is it possible to modify the loading screen of the checkout flow wherein it hits the 4 integration classes? (Shipping, Inventory, Taxes, Pricing) Thanks in advance
user avatar
  • 161
0 votes
0 answers
35 views

Issue with End Date - B2B Commerce Promotion - Splash Widget

We are using “Splash Widget” on our B2B commerce website. Ref: https://help.salesforce.com/articleView?id=sf.b2b_commerce_components_splash.htm&type=5 We are using the start and end date to ...
user avatar
0 votes
0 answers
140 views

How to add more Account fields to the checkout page in B2B Commerce Cloud?

I'm trying to add a field to the Account fields visible on the Checkout page in B2B Commerce Cloud. I don't really know B2BCC at all, but our customer thought that we could probably make this simple-...
user avatar
  • 12.7k
0 votes
0 answers
39 views

How to push product media images using dataloader in B2B commerce cloud lightening experiance

How we can add media images to all products at a time based on product family
user avatar
  • 3
0 votes
2 answers
189 views

Restrict Record Access in Sharing Groups

Is it possible to restrict records (like Orders) created by Community Login Users in a Community Site for different Sharing Groups? I'm still very new to the concept of Sharing Groups. Currently, we ...
user avatar
2 votes
0 answers
140 views

Internal Salesforce Error occured when inserting CartItem via Test Class

Since Monday (May 10, 2021), we've encountered an issue in our test class that we didn't encountered previously. There was a Salesforce update on May 10 so I suspect this was the cause of our issue. ...
user avatar
0 votes
1 answer
192 views

Issues with testing a scheduled product index builder class (B2B commerce)

I wrote this schedulable B2B Commerce Product Index Builder class based on documentation from Salesforce and consulting a custom rep. global class ccScheduledProductIndexBuilder implements ...
user avatar
  • 1
1 vote
0 answers
177 views

B2B Commerce Lightning

Currently working on B2B Commerce Lightning Store and we have enabled guest view but now the client requires guest cart session. Currently in the B2B Commerce Lightning when we click on the "add ...
user avatar
0 votes
1 answer
314 views

Adding Custom Field to Cart Page in B2B Commerce

I am trying extend the Cart Data Provider and I am having a bit of trouble. I need to pass a custom field to the Cart page. I am able to get custom fields to show up when I extend the Product Data ...
user avatar
0 votes
1 answer
415 views

B2B Commerce: Error creating webcart

In our Webstore, a user can select a buyer account (from a list of accounts from the Account-Contact relationships) to create a webcart. But it looks like it's not allowed if the user's contact is not ...
user avatar
0 votes
1 answer
448 views

What are the actual effects of enabling Enhanced Commerce Order?

I need to enable B2B Commerce on our UAT sandbox for an upcoming deployment. However, this involves enabling "Enable Enhanced Commerce Order" in "Feature Settings > Sales > Order ...
user avatar
1 vote
1 answer
694 views

How to Debug LWC components from Community

I want to debug my LWC component from within a Community. However the Debug mode dosen't affect the minification of the JS in the as a Community User, only in the Builder ( that dosen't work for my ...
user avatar
0 votes
1 answer
144 views

B2B Commerce - PLP Title and Meta Update

We are using CC (3.147.4) We have set the storefront Seo Title as "XYZ Company | Retail" We want to update the Title of the PLP page. Lets say "XYZ Company | Fruits" where fruit is ...
user avatar
3 votes
2 answers
268 views

Do I need to buy Pardot to practice what I learn about it or is there a free version like developer orgs?

I am trying to lean Pardot for a future project purpose, but I am not finding any way of testing what I will learn in future. I do not have a salesforce premium account, is there a way to test and ...
user avatar
1 vote
2 answers
681 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 ...
user avatar
1 vote
1 answer
921 views

ConnectApi.ConnectApiException: This isn't a buyer account

When i am writing test class for Commerce Cloud. Then Account is necessary is buyer account. How i can enable Acount.IsBuyer field to true in test class. In UI i can enable as buyer account by click ...
user avatar
1 vote
0 answers
82 views

B2B Commerce Visual Force Page Not Visible To Guest (Anonymous) Users

I have a salesforce (Visualforce) B2B Store that is being built out. I have some custom visual force pages (subscriber pages as B2B commerce calls it) that have been created. I can access these fine ...
user avatar
  • 23
1 vote
0 answers
98 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 ...
user avatar
1 vote
1 answer
406 views

B2B Lightning - Retrieve store URL from Product Id

Is there a way to programmatically build or retrieve a Product's url on a storefront using its ID? I do see that the ID is included in the final URL: https://(domain).force.com/(community)/s/product/...
user avatar
1 vote
1 answer
1k views

Product Media Tab not allowing to add Media

I am new to B2B Commerce Lightning and I am trying to add Media to Products, but Media Product Tab only shows this message three times: "There was a problem getting the media group record. Your ...
user avatar
0 votes
0 answers
239 views

Unknown exception in SendMail method: List index out of bounds

I am facing the current error with the Messaging.sendEmail method: Error Occurred: An Apex error occurred: System.EmailException: SendEmail failed. First exception on row 0; first error: ...
user avatar
0 votes
0 answers
179 views

SalesforceCommerceCloud-service-cloud-connector(B2C) deployment issue

SalesforceCommerceCloud-service-cloud-connector(B2C) deployment issue Hello Eveyone, I am reaching out for help with SalesforceCommerceCloud-service-cloud-connector(B2C) https://github.com/...
user avatar
0 votes
0 answers
293 views

Salesforce Bulk API query image (on cms) associated with all products (on b2b)

I'm using Bulk API and to download my Salesforce B2B data. However now i am stuck trying to get the image info associated with product. Because images are in the Salesforce CMS app, i am not able to ...
user avatar