The merchant needs to create a new website, and is need modify a template the third party vendor's, because the customer is different. The file is found in a module here: app/code/Vendor/Module
Keep it simple in your mind!
An Adobe Commerce developer wants to override the following Layout XML file in the theme ExampleCorp/orange.
app/design/frontend/ExampleCorp/blank/Vendor_Module/layout/catalog_product_view.xml
What path would the developer use inside the layout directory of the theme to override the file?
To override a layout XML file from a parent theme, the developer just needs to place the modified file in the same path relative to the layout directory of the child theme. In this case, the file would be app/design/frontend/ExampleCorp/orange/Vendor_Module/layout/catalog_product_view.xml. The override directory is not used for overriding layout files, but for overriding templates and web assets. Reference: [Layout instructions], [Override templates and layout files]
An Adobe Commerce developer needs to create translations for the Orange/custom theme. Which directory would the developer place the translations?
To create translations for a theme, the developer needs to place the translation files in the il8n directory of the theme. The translation files should have the format <language code>_<country code>.csv, such as en_US.csv or fr_FR.csv. The etc and translations directories are not used for storing translation files. Reference: [Translations overview], [Translate theme strings]
An Adobe Commerce developer wants to create a new theme Vendor_Orange which extends from MagentoMum
a. Which file is responsible for specifying the parent theme?
The theme.xml file is responsible for specifying the parent theme of a custom theme. The file should contain the
In which folder can a custom theme favicon be added?
The favicon can be added to the <your_theme_dir>/Magento_Theme/web/ directory of a custom theme. The favicon should have the name favicon.ico and replace the default one from the Magento_Theme module. The <your_theme_dir>/web/ directory is used for storing web assets that are not specific to any module. The <your_theme_dir>/assets/images directory does not exist by default and is not used for storing favicons. Reference: [Add a favicon], [Theme structure]