If you are looking to add a custom tab to your Magento modern theme’s product page you can do so by doing the following.
1st. Download and open the file /app/design/frontend/default/modern/layout/catalog.xml
Search for <action method=”addTab” in your editor and you should find the original 2 or 3 there.
Just copy the code below and paste after the original 2 or 3 and change yourtabsname to whatever you want.
<action method=”addTab” translate=”title” module=”catalog”><alias>yourtabsname</alias><title>Your Tabs Title</title><block>catalog/product_view</block><template>catalog/product/view/yourtabsname.phtml</template></action>
2nd. You need to create the file yourtabsname.phtml but remember to replace yourtabsname with whatever you changed it to above. This yourtabsname.phtml page does not have to have any special code on it. It can have just text or an image url or code pulling product data. Whatever you want.
3rd. Upload yourtabsname.phtml to /app/design/frontend/default/modern/template/catalog/product/view
Remember if you want to customize a tab that’s already created you can edit it here /app/design/frontend/default/modern/template/catalog/product/view as well.
KWAVE MAGENTO TEAM
You must be logged in to post a comment.