Question 6

Universal Containers recently completed updates to their storefront shopping cart page. A problem has been discovered since the update. Users are no longer able to submit coupon codes on this page. Additionally, authenticated users who try to add a coupon are logged out.
The following processing code is found in the Cart.js controller file:

What should the Developer verify to identify the issue?
  • Question 7

    Below is a form definition snippet from the newsletter.xml file:
    <?xml version="1.0"?>
    <form xmlns=http://www.demandware.com/xml/form/2008-04-15>
    <field formid="email" lavel="Email" type="String" mandatory="True" max-length="50" />
    </form>
    Which line of code creates a JSON object to contain the form data?
  • Question 8

    A Storefront is designed so that multiple pages share a common header and footer layout.
    Which ISML tag should a developer use on the templates for these pages to avoid code repetition in the most effective way?
  • Question 9

    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?
  • Question 10

    Given the requirements:
    * To show the washing instructions for a clothing product on a dedicated section 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?