skip to Main Content

I enabled Magento’s frontend debug path hints but they are not showing.

Infos:
- Magento 2.3.0 with Porto Theme
- Php 7.2
- Already tested to change Magento Single Store MOde and Multistore Mode
- Already made di:compile
- Already tested blank Dev IP and my own IP
- Already changed Magento Modes default and developer
- Already cleaned and flushed the cache
- Already removed generated and pub static folders

But still, the red Hintlines in Frontend don’t show up.

2

Answers


  1. Please follow the following steps-

    Stores->Configuration->Advanced->Developer->Store View: Default Store View->
    Enabled Template Path Hints for Storefront --> Yes
    Enable Hints for Storefront with URL Parameter --> Yes
    Parameter Value --> magento
    

    After setting this, check on frontend by putting param (?templatehints=magento) in url like this –

    http://localhost/test/index.php?templatehints=magento

    Login or Signup to reply.
  2. You should use below steps:-

    1. On the Admin sidebar, go to Stores > Settings > Configuration.

    2. In the left panel, expand Advanced and choose Developer.

    3. Expand enter image description here the Debug section and do the following:
      enter image description here

    4. After that you should clean cache.

    OR

    You can use below commands

    For eable
    php bin/magento dev:template-hints:enable

    For disable
    php bin/magento dev:template-hints:disable

    Then clean cache
    php bin/magento clean:cache

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search