Magento allows you to specify custom values per store for product attributes created in the admin panel.
Which architectural pattern makes it possible?
What will be the result of calling the save() method on a collection instance?
How do you add a foreign key to an existing table created by another module?
A module MyModule needs to send notifications to customers only when the account was modified from a mobile app using the REST web APIs.
You decided to implement an observer for customer_save_after_data_object event.
In which file do you declare the observer?
You need to find all orders in the processing state. You have written the code:
How do you resolve the exception?
You are adding an entry to the backend menu. To do so you open a core etc/adminhtml/menu.xml file as a reference. In the file you see the node:
What is the result of specifying resource=”Magento_Catalog::catalog”?
You have created a custom module which must perform an action immediately after an order is placed, but only on the store front of the merchant site. You have selected the checkout_submit_all_after as the target event which the module will observe.
In which file will the event observer be declared?
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?
You want to remove a column introduced by a third-party extension via declarative schema.
How do you do that?