Conventional notations used in this Guide
Conventional notations for paths to modules and themes
Magento application components, including modules, themes, and language packages technically can be located anywhere under the Magento root directory. This refers to both, Magento default and custom components.
The following relative paths are used for modules and themes:
<theme_dir>
Theme directory. Usually used when talking about custom themes, or any theme in general.
For Magento out of the box frontend themes, the absolute path usually is one of the following:
app/design/frontend/<Vendor>/<theme>
vendor/magento/theme-frontend-<theme>
<module_dir>
Module directory. When talking about a particular Magento module, the following notation is used: <Magento_X_module_dir>
, where X
would indicate the module’s name. The directory for module X
in the Magento installation directory would be one of the following:
app/code/Magento/X
vendor/magento/module-x
For example, <Magento_Checkout_module_dir>
would resolve to one of the following:
app/code/Magento/Checkout
vendor/magento/module-checkout