I've installed magento 1.9.0.1 with sample data. Trying to add additional tab to product page by updating layout via my module's layout xml. Added following changes to my module's xml but it doesn't work - meaning my tab wasn't added to product page.
<catalog_product_view>
<reference name="product.info">
<block type="catalog/product_view_tabs" name="product.info.tabs" as="info_tabs" template="catalog/product/view/tabs.phtml">
<action method="addTab" translate="title" module="catalog">
<alias>Discussions</alias><title>Product Discussions</title>
<block>discussions/discussions</block>
<template>discussions/discussions.phtml</template></action>
</block>
</reference>
</catalog_product_view>
Also when I looking on default catalog.xml ( app/design/frontend/base/default/layout/catalog.xml) I don't see there any tabs block element but when I browse to product page there're default tabs for description, additional info and reviews.Tried to find additional places where it could be configured but without success.
it doesn't work.
– retocatalog/product/view.phtml
? The default elements on the product page areproduct.info.container1
andproduct.info.container2
. Those blocks are built based on attributes that have "Visible on Product View Page on Front-end" in the attribute settings – Zefiryn