Weekend Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

B2C-Commerce-Developer Salesforce Exam Lab Questions

Page: 13 / 14
Question 52

A client has two B2C Commerce sites in the same instance: one for the U.S market, the other forthe

European market. The products they make are sold with different safety certificates based-on the world

location.

For example, they sell a smartphone with certificate A in the U.S and certificate B in Europe, a

hairdryer with certificate C in the U.S and certificate D in Europe, and more.

How should a developer allow the merchant to display the appropriate certification logo in the produce to

details page, depending on the customer’s location?

Options:

A.

Add a Localizable custom attribute to the Certificatesystem object type.

B.

Ad and Image custom preference to the Sitepreference system object type

C.

Add a Site-specific custom attribute to the Product system object type.

D.

Add a Localizable custom preference to the SitePreference system object type.

Question 53

A client wants to differentiate their monobrand stores with a special icon when shown in the store

locator. The information is saved in a true/false custom attribute for each Store object in Merchant tools.

How should the developer follow SFRA best practices to expose this data for rendering?

Options:

A.

Extend the existing Stores_Find controller with a new middleware function that performs the query

B.

Pass theStore system object to the template, so that custom propierties are available

C.

Ad dan to the template, and call StoreMgr.searchStoresByCoordinates();

D.

Use the module.superModule functionality and the call method to add a new property to theStore Model.

Question 54

Given a job step configured in the steptype.json, a developer needs to add a custom status code

“No_FILES_FOUND”.

Which code snippet will complete the requirement?

Options:

A.

var status = {success: ‘OK’. Message: ‘NO_FILES_FOUND’};return status;

B.

var status = require(‘dw/system/status’);return new Status(Status.OK, ‘NO_FILES_FOUND’);

C.

this.status = ‘NO_FILES_FOUND’return this;

D.

return ‘NO_FILES_FOUND

Question 55

A Storefront is designed so that multiple pages share a common header and footer layout.

Which ISML tag should a developer use on the templates for these pages to avoid code repetition in the most effective way?

Options:

A.

B.

C.

D.

Page: 13 / 14
Exam Name: Salesforce Certified B2C Commerce Developer (SP24)
Last Update: Sep 7, 2024
Questions: 203
B2C-Commerce-Developer pdf

B2C-Commerce-Developer PDF

$24  $80
B2C-Commerce-Developer Engine

B2C-Commerce-Developer Testing Engine

$28.5  $95
B2C-Commerce-Developer PDF + Engine

B2C-Commerce-Developer PDF + Testing Engine

$39  $130