To enable Magento 2 Template Hints directly from the command line, run the following command in the Magento 2 root directory:
|
1 |
php bin/magento dev:template-hints:enable |
To disable the hints again, run this command:
|
1 |
php bin/magento dev:template-hints:disable |
Clear the Magento 2 cache after either command.
Enabling template hints from the CLI
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.