Product View Page Header and Footer part is not Showing In Magento 2
-
23-03-2021 - |
Soluzione
Please review this file in your custom theme, there may be some issues..
app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list.phtml
Or try to rename this from list.phtml
to list1.phtml
and run below commands once
php bin/magento cache:clean
php bin/magento cache:flush
Hope this will help you!
Altri suggerimenti
Please press CTRL + U in your keyboard and check view source of that page. There may be some error. That's why you're not getting header and footer there.
Hope this will help you to debug more! Thanks.
Please go to the path:
app/design/frontend/VENDOR/THEME/Magento_Catalog/layout/catalog_product_view.xml
or
app/design/frontend/VENDOR/THEME/Magento_Catalog/layout/default.xml
find code and remove after flush command :
<referenceContainer name="header.container" remove="true" />
<referenceContainer name="footer" remove="true" />
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange