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?
A retailer notices that the Account Addresses page is showing the wrong shopper ' s address.
Which tool should the developer start with to identify the issue?
A developer is asked to improve a page ' s maintainability by reducing its code repetition.
Which technique should the developer implement to achieve this?
A developer is working on a new feature that requires the use of a custom script. What is the first step the developer should take?
A developer is writing a server side script that needs to maintain state across calls. The persistent information needed includes these items:
• The current customer
• Whether or not the customer is authenticated
• The privacy attributes (such as tracking consent or cookie policy)
Which technique should the developer use to maintain state in an efficient and scalable manner that follows best practice?
The developer created a new Storefront category in storefront-catalog-m-en, but when viewing the Storefront site, the category is not visible.
Why might the categories not be visible?
A developer set up a new site with Taxation: Net. However, the business requirements changed and the site now needs to be Taxation: Gross. The Business Manager interface does not give this option.
In Business Manager, which sequence of steps is necessary to change the site to gross taxation?
Given the requirement to add caching to an existing page while adhering to SFRA best practices, which code snippet should be used?
A developer needs to check for product inventory in all inventory lists using the Open Commerce API.
An example request URL is:
http://refarch.demandware.net/dw/data/v18_3/inventory_lists/ecom-inventory/product_inventory_records/00883408601
Which property should the developer check in the OCAPI settings to confirm the appropriate resource is enabled?
A developer plans to use the/search_suggestion(Shop API) in a Storefront application and the following property must be set to do so:
suggestion.product.image:view_type
What consideration should the developer keep in mind to ensure that image data is returned correctly as part of search suggestions?
A merchant wants to obtain an export file that contains all the products assigned to their Storefront catalog. They do not know how to achieve this easily without manual processing, so asked their developer to help generate this. The merchant ' s instance setup is as follows:
• They have one Master catalog and one Storefront catalog.
• Some, but not all, of the products in the Master catalog are assigned to categories within the Storefront catalog.
Which method allows the developer to generate the export for the merchant?
Given this customer basket information:
• 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 modifyGETResponse 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?
Given a template rendered by a controller with caching and a remote include without caching, which situation applies?
Which ISML tag should a developer use to avoid code repetition in common header and footer layout?
Given a job step configured in the steptype.json that calls a script module, a developer needs to add a custom status code " NO_FILES_FOUND " in the script. The status does not represent an error condition.
Which code snippet completes this requirement?
A developer is tasked with the development of a new Page Designer Page Type, as requested by the merchant. How should they define the rendering logic of the page?
A client that sells sport shoes wants to allow its customers to filter products based on the intended activity (such as tennis, jogging, basketball, etc.), but this particular information is not present in the current catalog.
Which two actions does a developer need to perform in a B2C Commerce instance to allow this to happen?
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?
Given the requirements:
• To show the washing instructions for a clothing product on a dedicated section of the detail page
• Washing instructions come from the product information manager (PIM)
• To have this attribute available to localize in the Storefront
Which action meets these requirements?
A developer is configuring Payment Methods on a storefront. Which of the following considerations should be kept in mind while configuring payment methods?
When looking at Custom Object instances for a site, a merchant notices that the creation date is not showing up on the instances in Business Manager.
Where should the developer add this attribute to the Custom Object so it is visible for the merchant to see in Business Manager?
The client provides the system integrator with translation messages for the newly added " French " ( " fr " ) locale.
What is the correct folder to store the associated.propertiesfiles?
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?
Given the following snippet:
server.append( ' Show ' ,function(req,res,next) {
According to SFRA, which option can a Developer use to complete the code above and provide data to the response using a controller?
A developer is implementing a new feature that requires the use of a custom object. What is the first step the developer should take?
Which action should a developer take to resolve the problem of not seeing attributes when creating a custom object?
Which is an appropriate use of the < isif > ISML tag that follows B2C Commerce and SFRA best practices?
What step should a developer take to troubleshoot code changes not appearing on the Storefront?
A developer needs to perform the same additional checks before completing multiple routes in a custom controller, in order to decide whether to render a template or redirect the user to a different page.
According to SFRA best practices, what is the correct approach to improve code reusability in this scenario?
What should a developer do to ensure that the gift vouchers are always available?
A merchant has a content slot on a page that currently displays products based on the top sellers for the current week. The merchant wants to change this functionality. They want to have the slot render a specific content asset so that the content experience is more personalized to the visitors.
Which two actions are necessary to make this change?
A merchant checked the " Show Orderable Products Only " preference in Business Manager.
What impact does this have on the Storefront from a user perspective?
A merchant has asked their development team to add a new site.
Which task is essential for correct site configuration prior to launch?
Given a site called RefArch with the settings shown, what must be done for RefArch to use the same customer list as RefArchGlobal?
A new product has been added to the Storefront catalog that is assigned to a site.
Which configuration does a developer need to ensure to have a new product visible in the Storefront?
Which method should a developer use to create a service instance that will call a remote web service?
A merchant wants customers to be able to order gift vouchers via their site. Since they can issue an unlimited number of these digital vouchers, this item should be available to sell at all times.
How can a developer use Business Manager to ensure that the gift vouchers are always available?
A developer implements the necessary code for a new Page Designer component.
What is the purpose of the JSON metadata definition file the developer creates?
A custom cartridge that seemed to be performing well in a sandbox has been installed in production. The production instance is showing increased page load times that seem to be related to the new custom code. What can a developer do to quickly track down the potential problem?
A developer is using logging in scripts to troubleshoot an issue. They are using the dw.system.Log class to write to specific log levels and categories. Which log level is always enabled by default?