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 item by an attribute at the product line item.
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

    A Digital Developer has identified that the code segment below is causing performance problems.

    What should the Developer do to improve the code?
  • Question 3

    A client uses tax tables in Business Manager to calculate tax. They recently started shipping to a new country, Italy, and the taxi s not being calculated correctly on the Storefront What is the likely problem?
  • Question 4

    A client uses tax tables in Business Manager to calculate tax. They recently started shipping to a new country, Italy, and the taxi s not being calculated correctly on the Storefront What is the likely problem?
  • Question 5

    Recent code changes to an existing cartridge do not appear correctly on a Storefront. The developer confirms that the code is uploaded in the IDE and ensures that the cartridge is associated with the sandbox.
    Which two additional steps should the developer take to troubleshoot this problem?
    Choose 2 answers