How can i disable Related Post tab on product page magento 2?
-
05-03-2021 - |
Solution
Find the block name of "Related Posts" by enabling Template Path Hints
and Block Path Hints
in Store->Configuration->Advanced->Developer->Debug
. Set Template Path Hints
and Add Block Names to Hints
to yes. Refresh the cache and find for the block name in Product Detailed Page near to Related Posts tab.
Look for the block name in catalog/view/frontend/layout/catalog_product_view.xml
and remove it.
<referenceBlock name="reviews.tab" remove="true"></referenceBlock>
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange