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.isGuest
B . ccrz.cc_CallContext.isGuest
C . UserInfo.getUserType()
D . … UserType
Answer: B
B2B Commerce Developer Salesforce Accredited B2B Commerce Developer (SU21) exam is a hot Salesforce certification exam, Exam4Training offers you the latest free online B2B Commerce Developer dumps to practice. You can get online training in the following questions, all these questions are verified by Salesforce experts. If this exam changed, we will share new update questions.
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.isGuest
B . ccrz.cc_CallContext.isGuest
C . UserInfo.getUserType()
D . … UserType
Answer: B
Where are handlebar Templates defined in the Cloud craze managed package?
A . uiProperties file
B . Configuration Setting configuration
C . cc_hk_UserInterface extension
D . Page Settings configuration
Answer: A
Which method is used to override when extending the Salesforce B2B Commerce logic providers?
A . doLogic
B . process
C . doAction
D . fetch
Answer: B
What is a valid way of referencing the CC Cart Object whose API name is E_Cart__c in a SOQL query?
A . _Cart__c
B . c.E_Cart__c
C . ccrz__E_Cart__c
D . cloudcraze__E_Cart__c
Answer: C
Numerous flags when set, have a direct impact on the result set provided by the Global API’s.
Which conversion flag allows for sObjects to be returned from the Global API’s when provided as a Boolean parameter with a value of true?
A . ccrz.ccAPISizing.SKIPTRZ
B . ccrz.ccAPISizing.SOBJECT
C . ccrz.ccAP
D . SZ_SKIPTRZ
E . ccrz.ccAP
F . SZ_SOBJECT
Answer: C
When a user buys 10 units of product B, the user wants 1 unit of Product A to be automatically added to the cart.
How can this requirement be fulfilled?
A . Override the AllowCheckout method in ccrz.cc_api_CartExtension
B . Override the prepareForSave method in ccrz.cc_api_CartExtension
C . Override the preprocess method in ccrz.cc_api_CartExtension
D . Override the prepareToAdd method in ccrz.cc_api_CartExtension
Answer: C
Which two aspects are applicable to Page Includes? (2 answers)
A . Standard Visualforce controls such as apex: form should not be used within a page include
B . Page Includes must be assigned to an OOTB Page, i.e. Home, Product Detail, etc., and enabled
C . Page Includes can be configured as Body Includes Begin.
D . If a controller is used for an included page, then a merge variable must be present on the page.
Answer: A,D
Which two statement are true for Mass Order (2 answers)
A . Mass Order pricing is done via a batch job.
B . Mass order works with the default wish lists
C . The variation product is leveraged for SKUs.
D . Mass Order is mobile ready with the ccrz templates.
Answer: A,C
Which twousages of ccLog should be avoided in Salesforce B2B Commerce? (2 answers)
A . ccrz.ccLog.log(System.LoggingLevel.ERROR, ‘D:something’, myCallToGetMessage(pl) ), where myCallToGetMessage(pl) is a method invocation
B . crz.ccLog.log(System.LoggingLevel.WARN, ‘D:something’, ‘Something unexpected occurred: The data we were expecting for pl was not there,’)
C . crz.ccLog.log(System.LoggingLevel.DEBUG, ‘D:myOrderList’, myOrderList), where myOrderList is a list of orders
D . crz.ccLog.log(System.LoggingLevel.DEBUG, ‘D:myOrder’, myOrder), where myOrder is an order object
Answer: A,B
Which three steps are necessary to have subscriber page added to Salesforce B2B Commerce after creating a custom Visualforce page? (3 answers)
A . Create a new CC Subscriber Page record that points to your custom Visualforce page.
B . Create a new Visualforce page, and manually import the Salesforce B2BCommerce JavaScript libraries. Run in Anonymous Apex ccrz.cc_util_Reflection.upsertPageUIKey([arg1],[arg2],[arg3]);
C . Refresh the Page Keys Index in CC Admin.
D . Enable the Subscriber Page in CC Admin.
Answer: A,C,D