Magento: Add description tab in product’s detail page

Hello friends,
In magento the default/default theme is not providing tabs in product’s detail page. But the default/modern theme provides. So here we will discuss some steps for adding product’s description tab in product’s detail page of magento default/default theme.

Step1: Copy /app/design/frontend/base/default/layout/catalog.xml file, in /app/design/frontend/default/default/layout/ folder.

Step 2:Add

<block type="catalog/product_view_tabs" name="" as="info_tabs" template="catalog/product/view/tabs.phtml" >
    <action method="addTab" translate="title" module="catalog"><alias>description</alias><title>Product Description</title><block>catalog/product_view_description</block><template>catalog/product/view/description.phtml</template></action>

code in /app/design/frontend/default/default/layout/catalog.xml file below the

<action method="setTierPriceTemplate"><template>catalog/product/view/tierprices.phtml</template></action>

Step 3: Copy /app/design/frontend/base/default/template/catalog/product/view.phtml file in /app/design/frontend/default/default/template/catalog/product/ folder.

Step 4: Copy /app/design/frontend/base/default/template/catalog/product/view/description.phtml file in /app/design/frontend/default/default/template/catalog/product/view/ folder.

Step 5: Copy /app/design/frontend/ default/modern/template/catalog/product/view/tabs.phtml file in /app/design/frontend/default/default/template/catalog/product/view/ folder.

Step 6:Add

echo $this->getChildHtml('info_tabs');

code in /app/design/frontend/ default/default/template/catalog/product/view.phtml file below the

<div class="product-collateral">

Hope this will help you.

Speak Your Mind

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: