Magento – how to add new custom tab in magento product page

createlayoutproduct

I want to know how to add new custom tab on the product view page. Like: Description, Tags, Reviews.
Please give me some suggestion how it will be possible .

Best Answer

You need to add this in the layout xml file from one of your modules (or local.xml of your theme).

<catalog_product_view>
    <reference name="product_info">
        <block type="your_block/alias_here" name="some_name_here" as="some_alias_here" template="path/to/template.phtml">
            <action method="addToParentGroup"><group>detailed_info</group></action>
            <action method="setTitle" translate="value"><value>Tab Title Here</value></action>
        </block> 
    </reference>
</catalog_product_view>

Then create your block and the template with the content you need.