Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Pass B2C-Commerce-Developer Exam Guide

Salesforce Certified B2C Commerce Developer (SP23) Questions and Answers

Question 13

Universal Containers recently completed updates to their storefront shopping cart page. A problem has been discovered since the update. Users are no longer able to submit coupon codes on this page. Additionally, authenticated users who try to add a coupon are logged out.

The following processing code is found in the Cart.js controller file:

What should the Developer verify to identify the issue?

Options:

A.

The CSRF cartridge is included in the site’s cartridge path.

B.

The form group has the secure attribute set to true.

C.

The CSRF token is present in the form and is being submitted in the request.

D.

The CSRF settings in Business Manager are properly configured.

Question 14

A developer uses the call() instance method of dw.svc.Service to invoke a web service and implemented the callback methods defined by

the dw.avc.ServiceCaliback class.

Which callback method is required only when invoking a SOAP service?

Options:

A.

initServiceClient

B.

createRequeat

C.

mockCall

D.

parseResponse

Question 15

A client has a requirement to allow users on the Storefornt to filter by a newly created attribute.

Which is necessary to achieve this?

Options:

A.

Add a new Search Refinment Definition.

B.

Set the attribute as Searchable.

C.

Change the productseachrefinerbar.iml template

Question 16

A developer is implementing new Page Designer content on a merchant's Storefront and adds the line shown below to the setupCsntentSearch function in the searchHelpers.Js file.

What does this achieve?

Options:

A.

Allows Page Designer pages and components to be searchable

B.

Prevents Page Designer pages from being searchable

C.

Allows filtering Page Designer pages by folder