How to Enable Template Path Hints in Magento 2

Are you looking for How to Enable Template Path Hints in Magento 2? So you are in the right place. In this post, we are going to help you show to enable template path hints for frontend and admin from Magento admin panel also.

Enable in Admin Configuration

To Enabled for Storefront

3 Steps to Enable template path hints for storefront in Magento 2:

  • Step 1: Go to admin panel.
  • Step 2: Choose Store > Configuration > Advanced > Developer > Debug > Enabled Template Path Hints for Storefront.
  • Step 3: Choose Yes.
Template Path Hints for Storefront

To Enabled for Admin

You follow these steps:

  • Step 1: Go to admin panel.
  • Step 2: Choose Store > Configuration > Advanced > Developer > Debug > Enabled Template Path Hints for Admin.
  • Step 3: Choose Yes.
Template Path Hints for Admin

Enable by Command Line

Updated 8/2016

At this moment, there may be no command line to enable or disable via the command line (Default Magento 2 Command-line).

Let’s wait for the next Magento update or the external module.

Updated 1/2018

Now you can enable or disable via Command Line Go to Magento 2 root folder and run the following command:

Enable:

php bin/magento dev:template-hints:enable

Disable:

php bin/magento dev:template-hints:disable

Flush cache if any.

You can read more useful articles like Magento 2 Folder Structure.

Follow us for the more helpful article!

We hope this is a useful series for you.

Thank you for reading!

4.8 4 votes
Article Rating

Adam Roger

CEO and Founder of Magetop. A friend, a husband and a dad of two children. Adam loves to travel to experience new cultures and discover what is happening with ecommerce all around the world.

Leave a Reply or put your Question here

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x