Month End Sale Special - 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: newyear

Salesforce Comm-Dev-101 - Salesforce Certified B2C Commerce Developer

Page: 2 / 5
Total 154 questions

A merchant has a new requirement to accept American Express credit cards on its Storefront. A credit card payment method already exists.

Which step must a developer take in Business Manager to achieve this?

A.

In Payment Methods, enable American Express as a credit card type.

B.

In Payment Processor, create American Express as a payment type.

C.

Add American Express as a Payment Preference in Site Preferences.

Which snippet works correctly when updating the package.json file to point to the hook file for a cartridge?

A.

{ " hooks " : " ./cartridge/scripts/hooks.json " }

B.

{ " hooks " : " ./scripts/hooks.json " }

C.

{ hooks: " ./cartridge/scripts/hooks.json " }

A developer has these requirements for out-of-stock products:

• Save the SKUs of the out-of-stock products that the customer is interested in.

• Save the customer email regardless if the customer is a guest or registered.

• Email the customer when the product is back-in-stock.

Which step should the developer perform as part of the solution to achieve the requirements?

A.

Create a new set-of-string type custom attribute to the system object type Profile to save all the SKUs and use the existing email field for the email.

B.

Create a new set-of-string type custom attribute to the system object type Product to save all the customer email addresses for back-in-stock notification.

C.

Create a new custom object type that has a set-of-string type custom attribute for the SKUs and a string for the email field.

A developer has a B2C site and a merchant requirement to add a new locale to it.

What are the steps to enable the locale in the Storefront?

A.

Create and configure the locale under Global Preferences section and activate it in Site Preferences.

B.

Create, configure, and activate the locale under Global Preferences section.

C.

Add an alias for the new locale and then create and configure the locale itself under Global Preferences section.

A developer has a sandbox with code to log a message during execution, and the following code:

varLogger=require( ' dw/system/Logger ' );

Logger.info(message);

After the code executes, the developer does not see any log file with the message in the WebDAV folder.

What could the developer do to correct this issue?

A.

Set the root log level to debug AND check the box for Info under Log Files.

B.

Set the logging global preference to true AND set the root log level to debug.

C.

Set the logging global preference to true AND check the box for Info under Log Files.

What step must a developer take in Business Manager to accept American Express credit cards?

A.

In Payment Processor, create American Express as a payment type.

B.

In Site Preferences, add American Express as a Payment Preference.

C.

In Payment Methods, enable American Express as a credit card type.

A developer configures the dw.json file and needs to fill in the necessary parameters to complete the task.

Which parameter is required when using npm scripts?

A.

Username

B.

CSRF Token

C.

Site ID

A client sells its products in North America, Europe, and Asia, and has a B2C Commerce Site for each of these markets. The client receives three area-specific snippets of analytics code by a third-party provider to insert in the sites.

How should the developer configure an instance to allow the merchant to independently insert and update these snippets?

A.

Create a new " HTML " attribute in the SitePreference object type.

B.

Use ISML conditional tags to add the snippet into the codebase.

C.

Configure a new Service Profile with the provided snippet of code.

A merchant checked the " Show Orderable Products Only " preference in Business Manager.

What impact does this have on the Storefront from a user perspective?

A.

Products with an Available to Sell (ATS) = 0 will be excluded from search results.

B.

Back-order products will be excluded from search results.

C.

The product detail page will be hidden if Available to Sell (ATS) = 0.

The client provides the system integrator with translation messages for the newly added " French " ( " fr " ) locale.

What is the correct folder to store the associated.propertiesfiles?

A.

cartridge/templates/resources

B.

cartridge/resources

C.

cartridge/templates/resources/fr