Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

B2C-Commerce-Developer Exam Dumps - Salesforce Certified B2C Commerce Developer (SU24)

Go to page:
Question # 17

A Digital Developer is working on a multi-site realm. A new site requires a different layout for the account landing page. The business logic and datamodel remain the same. The existing code is in AccountControl.js and accountlanding.isml in the app_storefront cartridge. The app_storefront cartridge contains code for all other business functions. The cartridge path for the new site is currently int_cybersource:int_paypal:app_storefront.

The Developer creates a new cartridge named app_newsite that contains only the accountlanding.isml template for the new site.

Which modification should be made to the new cartridge path?

A.

Set the cartridge path sothat app_newsite is before app_storefront.

B.

Set the cartridge path so that app_storefront is before int_cybersource.

C.

Set the cartridge path to include only app_newsite.

D.

Set the cartridge path so that app_newsite is after app_storefront.

Full Access
Question # 18

Given the file structure below, which ISML method call renders the customLandingPage template?

A.

ISML.renderTamplate(‘cartridge/templates/default/content/custom/customLandingPage’);

B.

ISML(‘content/custom/customLandingPage’);

C.

ISML.render(‘content/custom/customLandingPage’);

D.

ISML.renderTemplate(‘content/custom/customLandingPage’);

Full Access
Question # 19

The developer wants to be able to view DEBUG

The developer wants to be able to view DEBUG level messages for myLogCategory in the Request Log tool. Given the custom log configurations in the image above, what does the developer need to do to accomplish this?

A.

Change the Log Level for myLogCategory to DEBUG.

B.

Check the DEBUG box in the Log Files section.

C.

Change the Log Level for myLogCategory to DEBUG and check the DEBUG box in theLog Files section.

Full Access
Question # 20

Given a file in a plug-in cartridge with the following code:

‘use strict’:

Var base = module.superModule;

Function applyCustomCache (req,res,next){

res.CachePeriod = 6; //eslint-disable-line no-param-reassign

res.cachePeriodUnit = ‘hours’) //eslint-disable-line no-param-reassign

next();

}

Module.exports = base;

Module.exports.applyCustomCache = applyCustomCache;

What does this code extend?

A.

A controller

B.

A middleware script

C.

A decorator

D.

A model

Full Access
Question # 21

A merchant has reported that customers are seeing low stock items at the top of their search results, giving them a subpar customer experience and impacting conversion.

How might this issue be resolved to ensure a better customer journey?

A.

In Business Manager, select Show Orderable Products Only at the root level to hide any products that are currently out of stock.

B.

In Business Manager, enter a higher boost factor for availability in SearchableAttributes.

C.

In Business Manager, set an availability low ranking threshold in Search Preferences.

D.

Create a job that sets all unavailable products to be hidden. Schedule the job to run hourly to clean up the catalog on a regular basis.

Full Access
Question # 22

A custom cartridge that seemed to be performing well in a sandbox has been installed in production. The production instance is showing increased page load times that seem to be related to the new custom code. Whatcan a developer do to quickly track down the potential problem?

A.

Use the Code Profiler in production instance. Set the mode to Development Mode and then wait a few minutes to collect data from onsite traffic. Click the refresh button to see the new data.

B.

Use the Code Profiler in production instance. Set the mode to Development Mode and click the refresh button to see the new mode displayed.

C.

Use the Code Profiler in a sandbox instance. Set the mode Extended Development Mode and then load the suspected pages and run the suspected process several times. Click the refresh button to see the new data.

Full Access
Question # 23

Universal Containers needs to have Apple Pay disabled for the country of Spain.

Which Business Manager module should the Developer use to meet this requirement?

A.

Merchant Tools > Ordering > PaymentMethods

B.

Merchant Tools > Site Preferences > Apple Pay

C.

Merchant Tools > Ordering > Payment Processors

D.

Merchant Tools > Site Preferences > Payment Types

Full Access
Question # 24

A controller route in the SFRA base looks as follows:

In order to extend this route using prepared ( ), what should the developer consider?

A.

Specifyany middleware functions needed for the new functionality.

B.

Specify any middleware functions needed for the new functionality using only those called by the base route.

C.

Remove next ( ); on the new route so only the route's middleware functions execute.

Full Access
Go to page: