A client has three different sites with three locales. Two of the sites share a library and one site has a private library.
What does the shared library allow in this context?
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 client that sells to multiple countries in Europe needs to disable Apple Pay for Denmark.
Which Business Manager module is used to achieve this requirement?
The developer needs to add custom category debug logging into the " contact " script, to ensure that a third-party service call responds as expected.
Assuming that the logging configurations for the contact category are correctly in place, which line of code should the developer add in the 06 placeholder to meet this requirement?
01varLogger=require( ' dw/system/Logger ' );
02varservice=dw.svc.LocalServiceRegistry.createService( ' contact.http.submit ' ,options);
03varserviceResponse=service.call(requestJSON);
04
05if(serviceResponse.ok) {
06// Insert logging code here
07}
Which method should a developer use to create a service instance that will call a remote web service?
A developer customized the Cart-Show controller route with a LINK cartridge that adds social media data. There is a new requirement to add a dataLayer object to the Cart-Show controller route.
How should the developer achieve this to ensure that no code change will be needed if the client decides to remove the LINK cartridge?
A developer is asked to write a log containing the ID and name of the product with a variable named myProduct.
Which snippet of code should be used?
To build the SFRA code to a developer sandbox for the first time, which build steps should the developer perform for the site to appear and function as designed?
A developer implements an Open Commerce API call to add products to a basket. Given the following resource configuration:
{
" resource_id " : " /baskets/** " ,
" methods " :[ " get " ],
" read_attributes " : " (**) " ,
" write_attributes " : " (**) "
}
Which modification allows the requests to successfully execute?
A developer has a requirement to display a banner in two different category pages.
Which snippet of code should the developer add to a template to allow the merchant to configure each independently?