0

i want to custom tab in frontend end 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>
0

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

  • but i do not want to do changes in code , can i do it via module or add custom design – mcoder Nov 5 '14 at 18:27
  • i treid above code but i does not worked – mcoder Nov 5 '14 at 22:08
  • above code is not working ??? – mcoder Nov 10 '14 at 16:27
  • what if i want to show it for configuravble products only ??. – mcoder Nov 12 '14 at 6:57
  • can write the condition) – John Genry Nov 12 '14 at 8:38

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.