Question: 1
Given the customer basket described below:
* A customer has an existing basket that consists of multiple items.
* One of the items is identified as a gift tem by an attribute at the product line tem.
The developer needs to write custom code to fetch the customer basket and then modify the basket based
upon the items in the cart. If the basket contains any gift items, modify the basket and create a separate
shipment for the gift item.
Four hooks are required to make the modification, beginning with modifyGETRespone and ending with
validatebasket.
* Dw.ocapi.shop.basket.modifyGETResponse
* -- missing hook --
* -- missing hook --
* dw.ocapi.shop.basket.validateBasket
What are the two missing hooks in the middle?
Question: 2
Given the following conditions:
* Site export file with a copy of the Storefront data for a custom site
* Sandbox with the custom site code, but no Storefront data
* Requirement for a working copy of SFRA for development reference
A developer is assigned the following Business manager tasks:
A) Import the custom Site using Site Import/Export
B) Import the SFRA Demo Sites using Site Import/Export
C) Rebuild the custom Site search indexes
In what sequence should the developer perform the tasks, so that the custom Site displays the products as intended?
Question: 3
A developer is working on a new site for the U.S based on an existing Canadian site. One of the
requirements is a change to the address form. The current Canadian form has an <options> list with the
correct two-letter abbreviation for the provinces.
The U.S. requirements are to:
* Have an <options> list with the correct two-letter abbreviation for the states in place of the
province field.
* Set the U.S site locale.
* Add the options list field definition to the XML file.
How should the developer set up the files before making the required edits?
Question: 4
Business Manager has the configuration:
* Active log category is ''root''
* Log level of INFO
The code below execites:
Var log = Logger.getLogger(''products'',''export'');
Log.info (''This is important information'');
Using this information, what is the beginning of the filename in which the log will be written?
Question: 5
Given the requirements:
* To integrate with an external web service using HTTP requests
* To create a service for this purpose with the Service framework using the LocalServiceRegistry
class.
* To test the service before the external service provider makes the API available
Which solution allows the developer to satisfy the requirements?