- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I overwrite the file:
app/design/frontend/company/v2/Magento_Theme/templates/html/header/logo.phtml
But it seems the file would not be loading!
How can I check, if this file is includes in theme and active?
Thank you!
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey @hanhoe
Please enable the template path hints and check again.
There are two methods to do so:
- Via Admin Panel
- Log in to Admin Panel
- Navigate to Stores > Configuration > Advanced > Developer
- Expand “Debug” and set YES to “Enable Template Path Hints for StoreFront“
- Also, under “Developer Client Restrictions, enter the IP address in the field “Allowed IPs” for which you want to enable the template path hints.
- Save the configuration.
- Via Command Line
Connect to your store with SSH terminal, and go to the root directory of your Magento 2 store.
Enable template path hints for frontend:
php bin/magento dev:template-hints:enable
Disable template path hints for frontend:
bin/magento dev:template-hints:disable
Clean and flush cache:
bin/magento cache:clean bin/magento cache:flush
Note: You can’t enable or disable template path hints for the admin using this method.
Hope it helps.
200+ Magento 2 Extensions for Enhanced Shopping Experience.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey @hanhoe
Please enable the template path hints and check again.
There are two methods to do so:
- Via Admin Panel
- Log in to Admin Panel
- Navigate to Stores > Configuration > Advanced > Developer
- Expand “Debug” and set YES to “Enable Template Path Hints for StoreFront“
- Also, under “Developer Client Restrictions, enter the IP address in the field “Allowed IPs” for which you want to enable the template path hints.
- Save the configuration.
- Via Command Line
Connect to your store with SSH terminal, and go to the root directory of your Magento 2 store.
Enable template path hints for frontend:
php bin/magento dev:template-hints:enable
Disable template path hints for frontend:
bin/magento dev:template-hints:disable
Clean and flush cache:
bin/magento cache:clean bin/magento cache:flush
Note: You can’t enable or disable template path hints for the admin using this method.
Hope it helps.
200+ Magento 2 Extensions for Enhanced Shopping Experience.