A Digital Developer wants to selectively retrieve products and process them from an iPhone.
Which action should the Developer take, given that JavaScript controllers CANNOT be used?
A.
Use import/export in Business Manager.
B.
Create a webservice to retrieve products.
C.
Use OCAPI and invoke it in native language.
D.
Use WebDAV Client to retrieve products.
Use WebDAV Client to retrieve products.
Universal Containers calls the following combination of products “The Basics” and sells the combination as a
unique product ID:
One Model 103 container
Five Model 611 container
Tree Model 201 container
The Developer created these three products in the catalog.
What is the next step in Business Manager to create “The Basics” as a combination?
A.
In the Product Bundles module, create a bundle named “The Basics”.
B.
In the Products module, create a product named “The Basics” and add the products to the Product
Bundles tab.
C.
In the Products module, create a product named “The Basics” and add the products to the Product Sets tab.
D.
In the Product Sets module, create a product set named “The Basics”.
In the Products module, create a product named “The Basics” and add the products to the Product
Bundles tab.
Universal Containers wants to change a content slot that is currently configured to display a content asset. Now they want the slot to display the top five selling boxes for the week.
Which two changes need to be made for this to occur? (Choose two.)
A.
Change the slot’s configuration content type to “products.”
B.
Change the slot’s configuration content type to “recommendations.”
C.
Change the slot’s configuration template to the appropriate rendering template.
D.
Delete the existing content asset
Change the slot’s configuration content type to “recommendations.”
Change the slot’s configuration template to the appropriate rendering template.
A Digital Developer needs to add logging to the following code:
A.
logger.getLogger(‘profile’).debug("Error retrieving profile email, Status Code: ", http.statusCode);
B.
logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
C.
Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.",
http.statusCode);
D.
Logger.getLogger(‘profile’).debug("Error retrieving profile email, Status Code: {0} was returned.",
http.statusCode);
logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
To ensure SFRA best practices and protect against request forgery, the developer introduced CSRF token generation in the customer address form:
<form … action = “submit”>
<input name =”${dw.web.CSRFProtection.getTokenName()}”
value = “${dw.web.CSRFProtection.generateToken()”>
…
<the rest of the Form fields>
…
</form>
To implement CSRF protection when the form is submitted, the developer needs to introduce the CSRF
validation using one or both of these methods as applicable:
• validateRequest
• validateAjaxRequest
Where in the code does the developer need to add this CSRF validation check?
A.
In the controller function that displays the form
B.
In the middleware chain of the controller post route
C.
In the controller function that handles the submitted form
D.
In the model function that persists the form data
In the middleware chain of the controller post route
Consider the following information:
• A merchant has this three-tier category structure setup in the Storefront catalog:
New Arrivals > Women > Clothing
• The category named Clothing has all the clothing items for Women and is merchandised.
• A Search Refinement named Newness is correctly configured for the Clothing category.
When a merchandiser views the Clothing category, the Search Refinement appears and Works as
expected. However, the merchandiser does not see the Search Refinement when searching for Clothing via the Storefront search.
What is the Reason?
A.
There are conflicting Search Refinement definitions for Clothing and one of its parent
categories
B.
The Search Refinement definition is not set up for the Women category
C.
The Search Refinement definition is not set up for the New Arrivals Category.
D.
The Search Refinement definitions is not set up for the Root Category
There are conflicting Search Refinement definitions for Clothing and one of its parent
categories
Universal Containers is preparing their storefront to use Open Commerce APIs (OCAPI).
To which hook should the Digital Developer move taxation logic to ensure consistent order totals within B2C Commerce?
A.
dw.ocapi.shop.order.validateOrder
B.
dw.ocapi.shop.basket.calculate
C.
dw.ocapi.shop.basket.afterPostShipment
D.
dw.ocapi.shop.order.afterPOST
dw.ocapi.shop.basket.calculate
A client has two B2C Commerce sites in the same instance: one for the U.S market, the other for the
European market. The products they make are sold with different safety certificates based-on the world
location.
For example, they sell a smartphone with certificate A in the U.S and certificate B in Europe, a
hairdryer with certificate C in the U.S and certificate D in Europe, and more
How should a developer allow the merchant to display the appropriate certification logo in the produce to details page, depending on the customer’s location?
A.
Add a Localizable custom attribute to the Certificate system object type.
B.
Ad and Image custom preference to the Sitepreference system object type
C.
Add a Site-specific custom attribute to the Product system object type.
D.
Add a Localizable custom preference to the SitePreference system object type.
Add a Site-specific custom attribute to the Product system object type.
A Digital Developer is working in a sandbox on a site named test-site using the domain test.demandware.net.
The Developer needs to compile a url to make an Open Commerce API (OCAPI) request that returns product information. By default, which URL format is a proper Open Commerce API for Sandbox?
A.
https://test.demandware.com/dw/shop/products/M1355?client_id=aaa...
B.
https://www.test.com/s/test-site/sfc/shop/products/M1355?client_id=aaa...
C.
https://test.demandware.net/s/test-site/dw/shop/v18_3/products/M1355?client_id=aaa...
D.
https://www.test.com/dw/shop/v18_3/products/M1355?client_id=aaa..
https://test.demandware.net/s/test-site/dw/shop/v18_3/products/M1355?client_id=aaa...
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 items.
How can a developer use Business Manager to ensure that the gift vouchers are always available?
A.
Check the perpetual flag in the product inventory record
B.
Check the Available to Sell (ATS) flag dor the producto set
C.
Set StockLevel = maxAllocation for the producto.
D.
Manually set the inventory to a high number.
Check the perpetual flag in the product inventory record
Page 6 out of 15 Pages |
Previous |