Question 21

You need to create a list of warehouses with a set of details in the configuration values: warehouse name, warehouse postcode. For this, suppose you created a custom configuration file under your module's etc/warehouses_list.xml. Now what should be the name of it's XSD schema for this xml file validation:
  • Question 22

    You have a task to modify the grand total on the checkout page with a negative price adjustment which depends on the shipping address postcode. What are two approaches to be used in this case?
  • Question 23

    You are working on a customization that requires a list of shipping rates available to a user. Which call returns the list of shipping rates?
  • Question 24

    When your class will be instantiated all the dependencies injected in your class constructor will also get instantiated, and it will trigger a chain reaction of object creation, this can really slow down the process. What could be the solution of above problem?
  • Question 25

    You created a custom page on the storefront and you have to render the price for a given product instance which is available in the $product variable. How do you render the price in a phtml template?
    A)

    B)

    C)

    D)