Magento 2 module for improved template hints. Based on the Magento 1 module. Aoe_TemplateHints
composer config repositories.hackathon_improved-template-hints vcs [email protected]:magento-hackathon/magento2-improved-template-hints.git
composer require magento-hackaton/magento2-improved-template-hints:dev-master
bin/magento module:enable MagentoHackathon_ImprovedTemplateHints
bin/magento setup:upgrade
- Add the repository to the repositories section of your composer.json file:
"repositories": [
{
"type": "vcs",
"url": "[email protected]:magento-hackathon/magento2-improved-template-hints.git"
}
],
- Require the module & install
composer require magento-hackaton/magento2-improved-template-hints:dev-master
Original Hackathon Issue Discussion: magento-hackathon/pre-imagine-2016/issues/31
To show the template hints simply add ?ath=1 to the shop URL after installing this module.
[GREEN] Block is cached -> Magento2 Default Behaviour
[RED] Block is not cached and the whole Page is not cached
[ORANGE] Private Block: Block will be retrieved trough AJAX
[BLUE] Shared Block: Block will be retrieved trough ESI