Enable Template Path Hints in Magento 2

July 9, 2019

In This Tutorial We are Learning How to Enable Template Path Hints in Magento 2.

There are Two Ways to Enable Template Path Hints In Magento 2.

  1. Enable Template Path Hints via Admin Configuration
  2. Enable Template Path Hints via Command Line Interlace

Enable Template Path Hints via Admin Configuration

You can Easily Enable Template path Hints via Admin Panel. You have to Follow below Step.

  1. Open Magento Admin Panel
  2. Go to Store > Configuration > Advanced > Developer
  3. Expand the Debug Section

If You want Enable Template Path Hints for Fronted then Select Yes in Drop down and If You Want to enable template path hint for Admin Panel then Select Yes in Drop Down.

First You have to Set Your Website on Developer Mode

You can also set the Allowed IP for the Template Path Hint using the Allowed IPs Option.

Enable Template Path Hints via Command Line Interlace

Open Your Command Line Interface and type Below command.

You can’t Enable or Disable Template Path Hints for Admin Panel Using Command Line Interface.

Hope this Help…