Magento Product Detail Page – How to Add Custom Tab

product

i want to add custom tab in frontend product detail pages, just next to short desc and want to show some content there, can i do this via

like detail, product tags, review, mycustom tab here

1: admin catalog > catagory custom design

2: via any module ?

i tried below code in custom layout update:

<action method="addTab" module="catalog" translate="title">
    <alias>info</alias>
    <title>Info</title>
    <block>catalog/product_view_attributes</block>
    <template>catalog/product/view/a.phtml</template>
</action>

Best Answer

app/design/frontend/default/yourtheme/layout -> catalog.xml in section you need add:

<action method="addTab" translate="title" module="catalog">
    <alias>My New Custom Tab</alias>
    <title>My New Custom Tab</title>
    <block>core/template</block>
    <template>catalog/product/mynewcustomtab.phtml</template>
</action>

in mynewcustomtab.phtml you can output you info