Blog: Thinking Out Loud

Musings on (Magento) Life, the (.NET) Universe and Everything (IT)

In this post, we will look at how to add a custom tab in product detail page in magento 2.

Creating file:

Create file catalog_product_view.xml in

In the file write following code:

Now you need to create file custom_tab.phtml in the path:

In the file you can write any content that you want to show in newly created tab.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">