Skip to main content

Questions tagged [b2b-commerce]

The tag has no usage guidance.

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

Apply Style to a div class in B2b LWR site

I need to add style property to a div class in LWR site.I am adding Style = "position:relative". How can i specify this override in Css head markup of the Site?
Deepak Agarwal's user avatar
0 votes
1 answer
56 views

Not able to add WishlistItem with same Product ID in a Wishlist (B2B Commerce)

For one of the B2B org, we have a requirement to add custom fields (Quantity__c and Product_Type__c) in the WishListItem object. With ConnectApi.CommerceWishlist.addItemToWishlist(), we can't set the ...
Ashish's user avatar
  • 2,372
1 vote
0 answers
84 views

Removing item from cart deleted cardelivergroupmethod from database?

I have an issue with an LWR b2b commerce store where the shipping integration is not being triggered when I remove an item from my cart and then reenter the checkout page. I need the shipping ...
Carlton Banks's user avatar
0 votes
0 answers
90 views

update the quantity and price of of OrderItemSummary

It possible to update the quantity and price of of OrderItemSummary or add new product to order and its order product summary once order is created using connectAPI in commerce cloud. As we have split ...
Anu's user avatar
  • 3,857
0 votes
0 answers
219 views

Place Order Button is Disabled in B2B Commerce Checkout page after Winter 24 Release

We are setting a B2B commerce LWR digital experience site in the developer org. After winter 24 release, when we put "Place Order" button under Checkout Layout: Accordion -> Checkout ...
Ashish's user avatar
  • 2,372
0 votes
0 answers
105 views

When creating new site, b2b commerce lightning template gives error

I am trying to create a new site from all sites. If I choose B2B Commerce (LWR) template, it gives me an error when site setup. An unexpected error occurred. Try again or contact your Salesforce ...
ozanozaydemir's user avatar
0 votes
0 answers
63 views

B2B Commerce Promotions Stop Working

In early June 2023, we configured promotions in B2B Commerce to work correctly. As we were migrating to User Acceptance Testing (UAT), the promotions stopped working and we notice new promotions ...
Hndinh's user avatar
  • 1
0 votes
0 answers
66 views

Salesforce Commerce Cloud Payment Setup Issue

We are trying to setup the Salesforce Out of the Box Payment procedure for a B2B Commerce store created in LWR Template by following the below Salesforce Help Document. https://help.salesforce.com/s/...
AJMAL KUNHI PARAMBATH's user avatar
0 votes
1 answer
194 views

B2B Template (LWR) - Custom Fonts

It is possible to use custom fonts on B2B using LWR Template? My current configuration: <style> @font-face { font-family: 'myFirstFont'; /* Replace myFont with your resource name */ ...
chanpelayo's user avatar
0 votes
0 answers
52 views

how to assign role to the pporal user in commerce b2b cloud

public without sharing class CreateAccountContactUser{ @InvocableMethod(label='Create_Con_User' description='Contact User') public static void processRecords(List<FlowInput> inputs) { ...
MUTHU KUMARAN D's user avatar
0 votes
0 answers
198 views

Unable to retrieve a custom field from Product2 in a LWC built of the B2B Commerce store front

I have built a LWC designed for B2B Commerce store Product Details page. I need to retrieve a custom field I have added to the product2 object in order to pass this to an iframe as a reference. To do ...
DP1971's user avatar
  • 1
1 vote
3 answers
580 views

lightning__commerce_cartChanged channel is not updating the amount of cart items in the LWR site

I'm currently in progress with migrating from Aura B2B Store to LWR Site, custom components for adding products to cart publish messages to lightning__commerce_cartChanged channel as described here: ...
Eugene's user avatar
  • 13
1 vote
1 answer
182 views

"lightning locker" in B2b commerce template does not turn on

"lightning locker" in B2b commerce template does not turn on, how can I switch to on? after activating it recharges and goes back to off
Marcello Ferreira's user avatar
0 votes
0 answers
336 views

B2B checkout - capturing billing address via LWC

This LWC appears in the billing address selector section of Checkout in a B2B commerce store. I have developed a custom LWC and have placed it in a new custom page in my B2B commerce store. Can you ...
SForce_User's user avatar
0 votes
1 answer
451 views

Why can't I log in to my storefront?

When I try to access by login to experience as a user for b2b storefront it does not open. Instead, page shows message as forbidden
Abhishek Asole IN's user avatar
1 vote
0 answers
293 views

Omnichannel Inventory & B2B Commerce. How to update the reservation count in Omnichannel Inventory once the reservation made from experience site

Can somebody help to have more idea on how the values for the terms Available to fulfill (ATF), Available to order (ATO), Future inventory, Quantity on hand, Quantity reserved, Reservation, Safety ...
AJMAL KUNHI PARAMBATH's user avatar
1 vote
0 answers
290 views

Apex Replay Debugger: list of size x too large to display

I am trying to debug an Apex Class for Salesforce B2B Commerce. In this class I am querying the Order Delivery Method records but when I try to see these records in the debugger it says list of size 7 ...
RanRag's user avatar
  • 135
-1 votes
1 answer
626 views

B2B lightning checkout flow(standard)

does anyone had worked on B2B lightning checkout flow(standard) in salesforce. I got this error when click on checkout button I have selected Shipping address from Contact point Address also Something ...
Lalit's user avatar
  • 1
1 vote
1 answer
1k views

Pass recordId param in Community Page Navigation Mixin

I am trying to navigate to the Order Summary Detail standard page in a B2B LWR experience site, however the page needs the recordId of the Order Summary in order to be able to show the data. How can I ...
Juan Ge's user avatar
  • 13
0 votes
1 answer
1k views

Alternative method for Creation Order Summary

My requirement was to create test class for Creating Order Summary. Test data was created using ConnectApi.OrderSummaryCreation.createOrderSummary. But if I use ConnectApi, I was forced to use (...
Aiswarya Sajithkumar P's user avatar
0 votes
2 answers
164 views

Field expressions values are not shown for guest users in SEO Title of B2B Commerce store page

I'm using field expressions in the SEO Title on the Product Detail page of B2B Commerce store. It works as expected when the user is logged in, but for guest users field expressions values are not ...
Eugene's user avatar
  • 13
1 vote
2 answers
392 views

B2B Commerce Cloud related Product

I am trying to add related product for a parent product. I have set up a parent and child product in commerce cloud with product relationship object. But when i select the parent product form ...
Anu's user avatar
  • 3,857
0 votes
1 answer
282 views

How to make patch request to /commerce/webstores/webstoreId/checkouts/activeOrCheckoutId from my custom LWC checkout component on the new LWR TEMPLATE

Most of the user interaction on the checkout page in the new LWR template for B2B Commerce are making get or patch callouts to /commerce/webstores/webstoreId/checkouts/activeOrCheckoutId to get data ...
Petar Gechev's user avatar
0 votes
1 answer
188 views

Salesforce b2b commerce CMS

Is there any way we can get the URL of an image uploaded in the CMS workspace so that we can make use of it in the experience site?
Sachin Vispute's user avatar
1 vote
0 answers
234 views

salesforce commerce - checkout flow - payment - "purchase now" button won't execute apexAdapter

My problem occurs during a screen flow (Checkout flow). The "Submit Payment" button (which is part of a the payment component) doesn't execute anything while it should execute (for my ...
sagish's user avatar
  • 11
2 votes
2 answers
177 views

sObject type 'Store' is not supported

I am new to Salesforce and currently trying to query the fields from the Store object related to the OrderSummary standard object. Store has a lookup relationship with OrderSummary object. First, I ...
RanRag's user avatar
  • 135
2 votes
1 answer
2k views

B2B Commerce Lightning - Product Media via REST or Apex

I'm running into something that is causing me headaches and I wanted to validate whether what I found about this topic is correct. First of all, some background. I'm working for a customer that has a ...
Frederik Pardon's user avatar
0 votes
0 answers
158 views

How to decode ConnectApi response?

Based on article: https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/intro_encoding.htm Responses from ConnectApi are by default encoded, they have mentioned in this article ...
Bithermal's user avatar
0 votes
1 answer
403 views

SOQL Tables related by a common look up field

Basically I am trying to get records from ProductCategoryProduct and from CartItem, both tables have a lookup field to Product2, so I use that table. SELECT Name, (SELECT Id FROM CartItem), (SELECT ...
Nicolás Maldonado's user avatar
0 votes
1 answer
378 views

Apex Bulk API order of processing for CSV records

I am currently working on an existing integration for syncing price-book entries from an external system to Salesforce. The system is using Apex Bulk API.I already know that in Salesforce it is ...
RanRag's user avatar
  • 135
0 votes
1 answer
632 views

Cart Refresh Options

I am trying to create a way for storefront users to easily restart checkout and refresh their cart in a B2B Lightning Store. I am currently displaying a button through a screen flow component which ...
Brian Biddi's user avatar
0 votes
1 answer
151 views

B2B LEX Order integration with external OMS - unit tests with OrderSummary

We are working on a new B2B implementation for one of our clients. One of the tasks is to send the order data from B2B to the client's OMS. This is not SF OMS. I am looking into the SF data model for ...
RanRag's user avatar
  • 135
0 votes
1 answer
98 views

How to add double quotes to CC Page Label?

I'm trying to add a page label in CC Page Labels that says Set up your URL under "My Account." however it displays as Set up your URL under &quot;My Account.&quot; I've tried using ...
cpascua's user avatar
0 votes
1 answer
895 views

Cannot access product list pages "You can't access this account"

I'm using a user that belongs to a Buyer account and went to the site using the Log In to Experience as User but I always get an error when trying to access product pages...the rest of the pages work ...
Fab's user avatar
  • 1
-1 votes
1 answer
1k 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
htyagi1's user avatar
  • 31
0 votes
1 answer
2k 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/...
munchj's user avatar
  • 55
3 votes
1 answer
2k 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 ...
Raphael D's user avatar
  • 574
0 votes
1 answer
253 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....
fixanoid's user avatar
  • 101
0 votes
1 answer
429 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 ...
Bithermal's user avatar
1 vote
0 answers
448 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: ...
lmro17's user avatar
  • 11
1 vote
1 answer
243 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 ...
vforvendetta's user avatar
0 votes
0 answers
910 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 ...
Rechu's user avatar
  • 452
1 vote
0 answers
243 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 ...
Kimberly Dsouza's user avatar
0 votes
1 answer
759 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.
MIX DML's user avatar
  • 2,432
2 votes
1 answer
1k 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 ...
Winston Henke's user avatar
0 votes
0 answers
109 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 (...
Pablo C's user avatar
  • 21
1 vote
1 answer
142 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&...
Pablo C's user avatar
  • 21
3 votes
1 answer
238 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 ...
Victor Lockwood's user avatar
7 votes
1 answer
745 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 ...
Ashish's user avatar
  • 2,372
0 votes
1 answer
970 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 ...
Abhi Patil's user avatar