To which hook should the Digital Developer move taxation logic to ensure consistent order totals within B2C Commerce?

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.validateOrderB . dw.ocapi.shop.basket.calculateC . dw.ocapi.shop.basket.afterPostShipmentD . dw.ocapi.shop.order.afterPOSTView AnswerAnswer: B Explanation: Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp

May 20, 2021 No Comments READ MORE +

Which link function generates the correct link?

A business user wants to add a link to a content page from within the body of another content asset. The target content asset ID is: terms-and-conditions. Which link function generates the correct link?A . $include(‘Page-Include’, ‘cid’, ‘terms-and-conditions’)$B . $http(‘Content-Page’, ‘cid’, ‘terms-and-conditions’)$C . $httpUrl(‘Content-Show’, ‘cid’, ‘terms-and-conditions’)$D . $url(‘Page-Show’, ‘cid’, ‘terms-and-conditions’)$View...

May 20, 2021 No Comments READ MORE +

To which file should the developer add German string values?

Universal Containers has expanded its implementation to support German with a locale code of de. The current resource bundle is checkout.properties. To which file should the developer add German string values?A . checkout_de.properties in resources folderB . checkout.properties in the de locale folderC . checkout.properties in the default locale folderD...

May 20, 2021 1 Comment READ MORE +

Which business goal does this accomplish?

A Digital Developer selects “Show Orderable Products Only” in the Search > Search Preferences Business Manager module. Which business goal does this accomplish?A . Exclude products from search results if Available to Sell (ATS) = 0.B . Exclude back-ordered products from showing on the website.C . Block displaying the product...

May 19, 2021 No Comments READ MORE +

Which modification should be made to the new cartridge path?

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...

May 19, 2021 No Comments READ MORE +

How should the Digital Developer implement the requirement?

Universal Containers wants to add a model field to each product. Products will have locale-specific model values. How should the Digital Developer implement the requirement?A . Utilize resource bundles for translatable values.B . Set the model field as a localizable attribute.C . Store translated model values in different fields; one...

May 19, 2021 No Comments READ MORE +

What is required to accomplish this?

Universal Containers wants to associate a region code value with an order to indicate the general area of its destination. This region code must be accessible whenever the order history is displayed. What is required to accomplish this?A . Store the region code value in a session variable.B . Define...

May 18, 2021 No Comments READ MORE +

Which two solutions are possible options to reduce the unavailability of the service?

A Digital Developer is inspecting the weekly service status report for a critical internally-hosted web service used in the application and notices that there are too many instances of unavailability. Which two solutions are possible options to reduce the unavailability of the service? (Choose two.)A . Modify the code that...

May 18, 2021 No Comments READ MORE +

Which three object types can a developer import using the Merchant Tools > Content > Import & Export module in Business Manager? (Choose three.)

Which three object types can a developer import using the Merchant Tools > Content > Import & Export module in Business Manager? (Choose three.)A . Content slotsB . Images and other static assetsC . ProductsD . FoldersE . Content assetsView AnswerAnswer: ACD Explanation: Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=%2Fcom.demandware.dochelp%2FImportExport%2FImportExportObjectCheatsheet.html

May 18, 2021 No Comments READ MORE +

What should the Developer do to improve the code?

A Digital Developer has identified that the code segment below is causing performance problems. What should the Developer do to improve the code?A . Use a system attribute instead of the isOnSaleFlag custom attribute.B . Avoid post-processing and use the isOnSaleFlag attribute as a search refinement.C . Breaks the process...

May 18, 2021 No Comments READ MORE +