Question # 1 What is a method to resolve if the current storefront customer is a Salesforce B2B
Commerce guest user in an apex class?
A. ccrz.cc_CallContext.currUser.isGuestB. ccrz.cc_CallContext.isGuest C. UserInfo.getUserType()D. UserType
Click for Answer
B. ccrz.cc_CallContext.isGuest
Answer Description Explanation:
A method to resolve if the current storefront customer is a Salesforce B2B Commerce
guest user in an apex class is to use ccrz.cc_CallContext.isGuest. This property will return
true if the current user is a guest user, or false otherwise. For
example, if(ccrz.cc_CallContext.isGuest){ // do something for guest user } will execute
some logic only for guest users. Salesforce References: B2B Commerce and D2C
Commerce Developer Guide, Call Context
Question # 2 Northern Trail Outfitters (NTO) has a B2B Commerce store for its resellers. It has received
many customer service calls involving questions about the delivery date of customer
orders.
How should a developer expose delivery time estimates to NTO's customers in the
storefront to reduce call volume?
A. Add the Expected Delivery Date field to the order confirmation email. B. Add a Desired Delivery Date input field during the checkout flow. C. Display the Expected Delivery Date on the order page with a Lightning web component. D. Configure an email alert to the customer when the Expected Delivery Date changes.
Click for Answer
C. Display the Expected Delivery Date on the order page with a Lightning web component.
Answer Description Explanation: To expose delivery time estimates to NTO’s customers in the storefront, a
developer should display the Expected Delivery Date on the order page with a Lightning
web component. The Expected Delivery Date is a custom field on the Order object that
stores the date when the order is expected to be delivered to the customer. The developer
can use the @wire decorator to get the current order object and use its properties, such as
order number, status, total amount, and expected delivery date, to display them on the
order page. The developer can also use Apex methods or third-party APIs to calculate and
update the expected delivery date based on various factors, such as inventory availability,
shipping method, shipping address, and carrier service level. Displaying the expected
delivery date on the order page allows the customer to see their delivery time estimate at
any time and reduce their need to call customer service. Adding the Expected Delivery
Date field to the order confirmation email is not a good solution, as it does not allow the
customer to see their delivery time estimate if they lose or delete their email. Adding a
Desired Delivery Date input field during the checkout flow is not a good solution either, as it
does not guarantee that the customer’s desired delivery date will be met or reflect any
changes in delivery time due to unforeseen circumstances. Configuring an email alert to
the customer when the Expected Delivery Date changes is not a good solution either, as it
can create confusion or frustration for the customer if they receive multiple or conflicting
emails about their delivery date. Salesforce References: B2B Commerce Developer Guide:
Order Object, [B2B Commerce Developer Guide: Order Page], [Lightning Web
Components Developer Guide: Call an Apex Method Imperatively]
Question # 3 What is the fastest route to setting up a B2B Commerce Store as a developer? A. Set up B2B Commerce on Lightning Experience manuallyB. Create a new store in the Commerce app C. Import a previously exported store archiveD. Use sfdx setup scripts
Click for Answer
C. Import a previously exported store archive
Answer Description Explanation: The fastest route to setting up a B2B Commerce store as a developer is to
use sfdx setup scripts. Sfdx setup scripts are scripts that use Salesforce CLI commands to
automate the creation and configuration of a B2B Commerce store. The scripts can
perform tasks such as creating scratch orgs, installing packages, importing data, assigning
permissions, and deploying code. The scripts can save time and effort for developers who
need to set up a B2B Commerce store quickly and easily. Setting up B2B Commerce on
Lightning Experience manually is not the fastest route to setting up a B2B Commerce store,
as it involvesmany steps and actions that can be tedious and error-prone. Creating a new
store in the Commerce app is not the fastest route either, as it also requires manual
configuration and customization of various settings and features. Importing a previously
exported store archive is not the fastest route either, as it depends on the availability and
quality of the store archive and may not reflect the latest changes or updates. Salesforce
References: [B2B Commerce Developer Guide: Set Up Your Development Environment],
[B2B Commerce Developer Guide: Create Your Store]
Question # 4 What is true regarding adding more Configuration Settings
to Salesforce B2B Commerce?
A. Metadata can be added to existing modules, but you cannot add new modules. B. Configuration settings can only be extended through API'sC. Select "New"in your storefront's Configuration Settings and create a custom setting. D. More modules and metadata can be added to Salesforce B2B Commerce.
Click for Answer
D. More modules and metadata can be added to Salesforce B2B Commerce.
Answer Description Explanation:
More modules and metadata can be added to Salesforce B2B Commerce by creating
custom configuration settings. Configuration settings are custom settings that store various
values and parameters that affect the functionality and appearance of the storefront. They
are organized into modules, which group related settings together. To create a custom
configuration setting, the user needs to create a custom setting record in Salesforce and
specify its module, name, value, and description. The custom setting will then appear in
CCAdmin under the specified module. Salesforce References: B2B Commerce and D2C
Commerce Developer Guide, Configuration Settings
Question # 5 Which code statement should a developer use to import the ID of the current Lightning
Experience A. import id from '@salesforce/network/ld'B. import id from '@salesforce/experience/ld'C. import id from '@salesforce/site/ld'D. import id from '@salesforce/community/ld'
Click for Answer
D. import id from '@salesforce/community/ld'
Answer Description Explanation: To import the ID of the current Lightning Experience community, a developer
should use the following code statement:
import id from ‘@salesforce/community/Id’;
The @salesforce/community module allows the developer to access information about the
current community, such as its ID, name, URL, and base path. The other modules do not
exist or are not related to the community ID. The @salesforce/network module is used to
access information about the current network, such as its ID and name. The
@salesforce/experience module is used to access information about the current user
experience, such as whether it is standard or custom. The @salesforce/site module is used
to access information about the current site, such as its name and prefix. Salesforce
References: [Lightning Web Components Developer Guide: Import Community
Information], [Lightning Web Components Developer Guide: Import Salesforce Modules]
Question # 6 When a developer configures a tax integration for a store, what happens to the previously
calculated tax entries during the checkout flow? A. Ignored during recalculationB. Saved prior to recalculation C. Deleted from the Cart D. Modified with the new tax calculation
Click for Answer
C. Deleted from the Cart
Answer Description Explanation: When a developer configures a tax integration for a store, the previously
calculated tax entries during the checkout flow are deleted from the Cart. A tax integration
is an integration that calculates and applies tax rates and amounts to a Cart or an Order
based on various factors, such as product type, price, quantity, location, and tax rules. A
tax integration can use either an external tax service provider or custom Apex code to
perform the tax calculation. When a developer configures a tax integration for a store, any
existing tax entries in the Cart are deleted before calling the tax integration service or
method. This ensures that the tax calculation is accurate and up-to-date based on the
current state of the Cart and avoids any conflicts or inconsistencies with previous tax
entries. The previously calculated tax entries are not ignored during recalculation, saved
prior to recalculation, or modified with the new tax calculation, as these are not valid
actions for handling existing tax entries. Salesforce References: B2B Commerce Developer
Guide: Tax Integration, B2B Commerce Developer Guide: Tax Calculation Flow
Question # 7 How should a developer get the grand total amount, including shipping and tax, for items in
the
cart and in the currency of the cart, when developing a new Lightning web component for
an
Aura storefront cart page? A. {!Cart.Details.grandTotal} B. {ICart.Totals.grand Total} C. {ICart.Details.Fields.grandTotal}D. {!Cart.Fields.grandTotal}
Click for Answer
C. {ICart.Details.Fields.grandTotal}
Answer Description Explanation: According to the B2B Commerce Developer Guide, the ICart interface
provides access to the cart object and its related data. The Details property of the ICart
interface returns an ICartDetails object, which contains information about the cart such as
the currency, the subtotal, the shipping cost, the tax, and the grand total. The Fields
property of the ICartDetails interface returns a map of field names and values for the cart
object. Therefore, to get the grand total amount for items in the cart and in the currency of
the cart, a developer should use the expression {ICart.Details.Fields.grandTotal}, which
returns the value of the grandTotal field from the cart object. References: B2B Commerce
Developer Guide, ICart Interface, ICartDetails Interface
Question # 8 Which three considerations should a developer keep in mind when creating a tax provider? A. What events to fire in the Lightning Web ComponentB. Whether to use JSON or XMLC. Success criteriaD. Whether an AppExchange package already exists E. How to handle errors
Click for Answer
B. Whether to use JSON or XMLC. Success criteriaE. How to handle errors
Answer Description Explanation: When creating a tax provider in Salesforce B2B Commerce, developers
should consider the data format (JSON or XML) for interoperability with the tax service,
define clear success criteria to ensure accurate tax calculations, and implement robust
error handling to manage exceptions and failures gracefully. Salesforce B2B Commerce
documentation emphasizes the importance of these considerations for integrating external
services, ensuring reliability and consistency in tax calculations across different
jurisdictions and scenarios.
Up-to-Date
We always provide up-to-date B2B-Commerce-Developer exam dumps to our clients. Keep checking website for updates and download.
Excellence
Quality and excellence of our Salesforce Accredited B2B Commerce Developer (SU24) practice questions are above customers expectations. Contact live chat to know more.
Success
Your SUCCESS is assured with the B2B-Commerce-Developer exam questions of passin1day.com. Just Buy, Prepare and PASS!
Quality
All our braindumps are verified with their correct answers. Download Salesforce Developer Practice tests in a printable PDF format.
Basic
$80
Any 3 Exams of Your Choice
3 Exams PDF + Online Test Engine
Buy Now
Premium
$100
Any 4 Exams of Your Choice
4 Exams PDF + Online Test Engine
Buy Now
Gold
$125
Any 5 Exams of Your Choice
5 Exams PDF + Online Test Engine
Buy Now
Passin1Day has a big success story in last 12 years with a long list of satisfied customers.
We are UK based company, selling B2B-Commerce-Developer practice test questions answers. We have a team of 34 people in Research, Writing, QA, Sales, Support and Marketing departments and helping people get success in their life.
We dont have a single unsatisfied Salesforce customer in this time. Our customers are our asset and precious to us more than their money.
B2B-Commerce-Developer Dumps
We have recently updated Salesforce B2B-Commerce-Developer dumps study guide. You can use our Salesforce Developer braindumps and pass your exam in just 24 hours. Our Salesforce Accredited B2B Commerce Developer (SU24) real exam contains latest questions. We are providing Salesforce B2B-Commerce-Developer dumps with updates for 3 months. You can purchase in advance and start studying. Whenever Salesforce update Salesforce Accredited B2B Commerce Developer (SU24) exam, we also update our file with new questions. Passin1day is here to provide real B2B-Commerce-Developer exam questions to people who find it difficult to pass exam
Salesforce Developer can advance your marketability and prove to be a key to differentiating you from those who have no certification and Passin1day is there to help you pass exam with B2B-Commerce-Developer dumps. Salesforce Certifications demonstrate your competence and make your discerning employers recognize that Salesforce Accredited B2B Commerce Developer (SU24) certified employees are more valuable to their organizations and customers. We have helped thousands of customers so far in achieving their goals. Our excellent comprehensive Salesforce exam dumps will enable you to pass your certification Salesforce Developer exam in just a single try. Passin1day is offering B2B-Commerce-Developer braindumps which are accurate and of high-quality verified by the IT professionals. Candidates can instantly download Salesforce Developer dumps and access them at any device after purchase. Online Salesforce Accredited B2B Commerce Developer (SU24) practice tests are planned and designed to prepare you completely for the real Salesforce exam condition. Free B2B-Commerce-Developer dumps demos can be available on customer’s demand to check before placing an order.
What Our Customers Say
Jeff Brown
Thanks you so much passin1day.com team for all the help that you have provided me in my Salesforce exam. I will use your dumps for next certification as well.
Mareena Frederick
You guys are awesome. Even 1 day is too much. I prepared my exam in just 3 hours with your B2B-Commerce-Developer exam dumps and passed it in first attempt :)
Ralph Donald
I am the fully satisfied customer of passin1day.com. I have passed my exam using your Salesforce Accredited B2B Commerce Developer (SU24) braindumps in first attempt. You guys are the secret behind my success ;)
Lilly Solomon
I was so depressed when I get failed in my Cisco exam but thanks GOD you guys exist and helped me in passing my exams. I am nothing without you.