Question 61

You have created a new block and will be adding this block on every page. The block contains user-specific
information and cannot be cached. The block is added to the default.xml with:

What does this accomplish?
  • Question 62

    How many shipping addresses may be selected for an order during the checkout process?
  • Question 63

    You are working on a Magento store which will be selling in two countries. Each country has its own set of payment methods.
    How do you organize the project to support this requirement?
  • Question 64

    You want to declare a block of the type \Magento\Framework\View\Element\Template with a template named view.phtml in the layout XML.
    What is the correct layout declaration for this?
  • Question 65

    You added a new constructor argument to an existing action controller class.
    When you reload the page you get a PHP error that the wrong argument is passed to the class.
    How do you fix this?