You are creating a new page layout for your custom module.
What is the primary difference between container and block elements?
How can you access the select query of a collection?
Products may be accessed using SEO friendly URLs like /my-product instead of /catalog/product/view/id/{ID}
How is this one?
A merchant is interested in setting different prices for the same products in different store scopes.
What do you reply to this inquiry?
You added a plugin declaration to MyCompany/MyModule/etc/di.xml:
What will be the effect of this declaration?
You have created a module controller that responds to the following URL: /mycompany/product/load/id/123.
Which two methods will load the product model by ID as specified in the URL? (Choose two.)
\Magento\Sales\Model\Api\OrderRepositoryInterface::getList accepts a SearchCriteriaInterface to filter and sort information.
What class assists in creating an instance for SearchCriteriaInterface?
In layout files you can change al element’s order on a page. This can be done using one of the following:
before and after element attributes?
How are two methods different?
You are reviewing a Magento module and see a directory named Service.
What can you determine from this directory’s name?
You are implementing a custom module MyModule, which provides an implementation of \Psr\Log\LoggerInterface called \MyCompany\MyModule\Logger.
The LoggerInterface has the default preference declared in app/etc/di.xml.
Keeping upgradability in mind, how do you make \MyCompany\MyModule\Logger the default implementation of the LoggerInterface globally?