How to enable path hint on magento ?

jamesjohny1989
Lv.1
1 Year of Membership
Joined
Aug 10, 2022
Messages
2
Reaction score
0
Credits
$0
You can do it either via admin or via console command. here I am describing the step to do it via command line.

php bin/magento dev:template-hints:enable

this above is to enable.

if we required to disable, use below

php bin/magento dev:template-hints:disable

if we required to check the status, do the below

php bin/magento dev:template-hints:status