MAGENTO 2 CERTIFIED PROFESSIONAL FRONT END DEVELOPER
What is true regarding the differences between the define and require functions? - Answer- 1. Define is passive and only runs when it is called. 2.Require is always run (as long as the module's file is loaded). On catalog product page XML instruction is executed: <block class="MagentoCatalogBlockProductView" name ="w" template ="Magento_Catalog::product/view/" after= ""/> , U'v created My_Mod which needs to utilize ur own version of . (What layout XML instruction do u use to accomplish?) - Answer- <referenceBlock name="w" template="MyCompany_MyModule::"/> You are building MyCompany/MyTheme and need to customize the header template. Where do you place the new phtml template to override the header? - Answer- MyCompany/MyTheme/Magento_Theme/templates/html/ You are creating a new Magento theme for a merchant. This theme will be included in the project's git repository. Keeping upgradeability in mind, where do you place the files and directories that pertain to this theme? - Answer- app/design/frontend/MyCompany/MyTheme/ You are creating a uiComponent that is used on the checkout page that displays the customer's email address, with realtime updates as they change it, How do you track the value of their email? - Answer- In your uiComponent's configuration, add: imports: { "customer-email:email" } You are browsing the Magento_Catalog's widget file and see this: <widget id="new_products" class="MagentoCatalogBlockProductWidgetNewWidget"> <parameters> <!-- ... --> </parameters> <containers> <container name="ional"> <template name="default" value="list_default" /> <template name="names_only" value="list_names" /> <template name="images_only" value="list_images" /> </container> </containers> </widget> - Answer- It filters options for the template when the widget is inserted into a page's l
Written for
- Institution
- MAGENTO 2
- Course
- MAGENTO 2
Document information
- Uploaded on
- September 8, 2023
- Number of pages
- 6
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
magento 2 certified professional front end develop
-
what is true regarding the differences between the
-
on catalog product page xml instruction is execute
-
you are building mycompanymytheme and need to c
Also available in package deal