Enable Template Path Hints in Magento 2

Enable Template Path Hints in Magento 2:
  • Enable Template Path Hints will more helpful for development activity.
  • Easy way to find which block(.phtml) is rendering a website page.
  • Once you enable this option, in a website it will show red color code with file path.
  • We can also restrict this option when you configure the IP’s from Developer Client Restrictions section.
How to Enable:
Admin – Store – Configuration – Advanced – Developer – Debug – Enabled Template Path Hints for Storefront – YES/NO

Leave a Reply