Magento 2 Cert Professional Developer
A merchant asks you to create a module that is able to process URLs with a custom structure that can contain any combination of a product type code, a partial name, and a 4-digit year in any order. The request path will look like this: /product/:type-code/:name-part/:year Which layer in the Magento request processing flow is suited for this kind of customization? - Front controller - Router - Action controller - HTTP Response - Answer- Router While integrating a merchant's product information management system with Magento, you create a module MyCompany_MerchantPim that adds a catalog product EAV attribute pim_entity_id programmatically. In which type of setup script do you create the EAV attribute? - Setup/InstallS - Setup/UpgradeS - Setup/InstallE - Setup/UpgradeD - Answer- Setup/UpgradeD You are facing a bug, which is supposedly caused by the customization of MagentoCatalogApiProductRepositoryInterface::save(). To resolve the issue, you decide to find all logic which customizes this method. Which two places do you search for customization declarations? (Choose 2) - */ - */ - */ - */ - Answer- */ */ You are implementing a customization of the sales management within a module MyCompany_MySalesProcess. You have created several event observers to add the custom functionality. Each observer is a separate class, but they require some common functionality. How do you implement the common functionality in the event observers, keeping maintainability and testability in mind? - You create a trait with the common methods and use the trait in the observer classes. - You create an abstract class AbstractObserver with the common methods and extend the observer cla
Written for
- Institution
- Magento 2
- Course
- Magento 2
Document information
- Uploaded on
- September 8, 2023
- Number of pages
- 25
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
magento 2 cert professional developer
-
a merchant asks you to create a module that is abl
-
while integrating a merchants product information
Also available in package deal