Question 81

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 82

    You have been asked to display details from the customer's latest order on the customer's account dashboard (customer/account/). You create a new custom template to show the information.
    How do you obtain an order repository so you can fetch an order?
  • Question 83

    You have added a new attribute origin of the type varchar to the product entity.
    Which two calls will filter a product collection with origin set to "California"? (Choose two.)
  • Question 84

    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 85

    A custom module must make changes to the schema following each setup:upgrade run. This must be done after all other module's schema updates have been applied.
    How is this accomplished?