A new product has been added to the Storefront catalog that 15 assigned to a site Which configuration does a developer need to ensure to have a new product visible in the Storefror
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?
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 data model 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 Digital Developer creates a B2C Commerce server connection in their UX Studio workspace. The Developer adds new cartridges to the workspace, but the cartridges do NOT execute as the Developer expects.
Which three things should the Digital Developer verify to ensure the cartridges are uploaded? (Choose three.)
A developer is tasked with the development of anew Page Designer Page Type, as requested by the merchant.
How should they define the rendering logic of the page?
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?
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?
Given a template rendered by a controller with caching and a remote include without caching, which situation applies?
Which is an appropriate use of the <isif> ISML tag that follows B2C Commerce and SFRA best practices?
A developer wants to use an external application to manage their stores information (such as opening hours, and so on), and see their changes in their B2C Commerce Staging instance aas son as they are saved.
What is the appropriate technique the developer should perform to allow the merchant to create a new store in this scenario?
A developer has a B2C site and a merchant requirement to add a new locale to it.
What are the steps to enable the locale in the Storefront?
Given a job step configured in the steptype.json, a developer needs to add a custom status code
"No_FILES_FOUND".
Which code snippet will complete the requirement?
Which of these situations is an appropriate use of the B2C Commerce OCAPIs?
A client has custom object definition and requirement that occasional data changes in staging also need to exist in production, Which task should the developer perform to meet these requirements when setting up the custom object?