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). ateOrder
(B). late
(C). PostShipment
(D). POST
(B). late
A business user wants to...
Salesforce B2C Commerce
Developer_LUU_DAT_FPT LATEST
EDITION 2024/25 GUARANTEED GRADE
A+
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
(B). dw.ocapi.shop.basket.calculate
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')$
(D). $url('Page-Show', 'cid', 'terms-and-conditions')$
A merchant has a requirement to sell a combination of four existing
products with a unique product ID.
This collection will be known as 'Our Top Combo', and is base don the
merchant's trading information that shows this combination to be in
high demand.
What does the developer need to do next to fulfill this requirement?
(A). Create a unique produce to called 'Our Top Combo' and add the
four products into the Product Bundles tab.
(B). Create a Content Slot with Content Type = Product and add the
four component products into that slot.
(C). Create a Product Set called 'Our Top Combo' and add the products
into the set.
(D). Create a recommendation rule associating the four products as a
recommendation group.
,(A). Create a unique produce to called 'Our Top Combo' and add the
four products into the Product Bundles tab.
A Digital Developer adds the following line of code to a script.
dw.system.Logger.getLogger('login').debug(""Login API has
succeeded"");
The code executes without error; however, the log file on disk does
NOT contain the log message.
Which two actions should be completed to write the log message to
disk? (Choose two.)
(A). Ensure that the debug log level is enabled to write to file in
the Custom Log Settings Business Manager module.
(B). Archive old log files to make room in the log directory.
(C). Ensure that the ""login"" category is added to the Custom Log
Filters in the Log Settings Business Manager module.
(D). Ensure that the debug log level has been added to the custom log
level types in the Global Preferences business manager module.
(A). Ensure that the debug log level is enabled to write to file in
the Custom Log Settings Business Manager module.
(C). Ensure that the ""login"" category is added to the Custom Log
Filters in the Log Settings Business Manager module.
A client sells its product in single-brand stores as well as in
multi-brand stores. When shown in the store locator list, the client
wants the single-brand stores to have a particular background color
to highlight them.
Which Business Manager action should be completed to allow the
developer to apply different styling to the single-brand stores?
(A). Add a Boolean custom attribute to the Store system object
(B). Configure the existing Store custom object type definition
(C). Create a new SingleBrandStore custom object configuration.
(D). Adjust the relevant Site Preference in the Stores group
(A). Add a Boolean custom attribute to the Store system object
A merchant has a new requirement to accept American Express credit
cards on its Storefront. A credit card payment method already exists.
Which step must a developer take in Business Manager to achieve this?
(A). In Payment Methods, enable American Express as a credit card
type.
(B). Add American Express into the Order settings in Site Preferences.
(C). In Payment Processor, create American Express as a payment type.
(D). Add American Express as a Payment Preference in Site Preferences.
(A). In Payment Methods, enable American Express as a credit card
type.
,A developer is importing edits for two different sites into the same
sandbox, and is provided with four different files.
Which two XML files should the developer import using the site-
specific Merchant Tools import modules, instead of the Administration
section import modules?
Choose 2 answers.
(A). System type extensions (solo en Sites)
(B). Site Jobs (sites)
(C). Search Settings En (search y en Sites)
(D). Promotions ( en sites y en online marketing)
(C). Search Settings En (search y en Sites)
(D). Promotions ( en sites y en online marketing)
A Digital Developer needs to add a new form to the shopping cart page
to allow customers to enter their rewards pass ID. There is already
an existing Cart.js controller that handles processing of the other
cart forms. In addition, a form field node is in the form XML and the
necessary form input is present in the ISML template. The code below
is the submit button for the ISML markup.
<button type=""submit""
value=${pdict.CurrentForms.cart.addRewardPass.htmlName}""
name=""${pdict.CurrentForms.cart.addRewardPass.htmlName}"">
${Resource.msg('rewards.apply','locale',null)}
</button>
What additional steps must occur before the Digital Developer can
begin writing theprocessing code for this request?
A
- Add an <action/> node to the form definition XML with the attribute
formid=""addRewardPass""
- Add the key addRewardPass, with a proccessing function as a value,
to the object passed to the Form.handleAction() method in the Cart.js
controller
B
- Add a <submit/> node to the form definition XML with the attribute
formid=""addRewardPass""
- Add the key addRewardPass, with a processing function function as a
value, to the object passed to the Form.handleAction() method in the
Cart.js controller
C
- Add the attribute addtl-form-action=""addRewardPass"" to the ISML
form
, - Add the key addRewardPass, with a processing function as a value,
to the object passed to the Form.handleAction() method in the Cart.js
controller
D
- Add an <action/> node to the form definition XML with the attribute
formid=""addRewardPass""
- No change to Cart.js controller required
(A). Option A
(B). Option B
(C). Option C
(D). Option D
(A). Option A
- Add an <action/> node to the form definition XML with the attribute
formid=""addRewardPass""
- Add the key addRewardPass, with a proccessing function as a value,
to the object passed to the Form.handleAction() method in the Cart.js
controller
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). Back-order products will be excluded from search results.
(B). Products with an Available to Sell (ATS) - 0 will be excluded
from search results.
(C). The product detail page will be hidden if Available to Sell (ATS)
= 0.
(D). Pre-order products will be excluded from search results.
(B). Products with an Available to Sell (ATS) - 0 will be excluded
from search results.
A developer has custom debug statements in a script, but the messages
are not showing up in the Storefront Toolkit Request Log.
Which step needs to be completed to get the messages to appear in the
Request Log?
(A). In Global preferences, check the box for Enable custom logging
in Request Log.
(B). In Site Preferences, check the box for Enable custom Logging in
Request Log
(C). In Custom Log Settings, check the DEBUG box for Select Log
Levels Written to Files.
(D). In custom Log Settings, activate the loggin category at DEBUG
level.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Allan100. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.49. You're not tied to anything after your purchase.