1

I want detail tab to active at first also related product tab to be hidden or disable. magento 2.3 product page

1

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>
  • Thanks Mate problem solved. <referenceBlock name="related.post.tab" remove="true"></referenceBlock> – Izhar Mehdi Jul 6 at 10:37
  • my reputation is lessthen 15 :D but thanks for solution – Izhar Mehdi Jul 6 at 11:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.