Copy and paste this code at line no:195 just below this tag : <block type="core/text_list" name="alert.urls" as="alert_urls" />
- Code: Select all
<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>description</alias><title>Product Description</title><block>catalog/product_view_description</block><template>catalog/product/view/description.phtml</template></action>
<action method="addTab" translate="title" module="catalog"><alias>additional</alias><title>Additional Information</title><block>catalog/product_view_attributes</block><template>catalog/product/view/attributes.phtml</template></action>
<action method="addTab" translate="title" module="catalog"><alias>review</alias><title>Product's Review</title><block>review/product_view_list</block><template>review/product/view/list.phtml</template></action>
<action method="addTab" translate="title" module="catalog"><alias>upsell_products</alias><title>We Also Recommend</title><block>catalog/product_list_upsell</block><template>catalog/product/list/upsell.phtml</template></action>
</block>
We also need these file in responding folder otherwise it shows fatal error; files are description.phtml, attributes.phtml, list.phtml, upsell.phtml all these file are found in attached file with this post.
Second phase is copy and paste this code:
- Code: Select all
<?php echo $this->getChildHtml('info_tabs') ?>
- Code: Select all
<div class="product-collateral">
<?php if ($_description = $this->getChildHtml('description')):?>
<div class="collateral-box">
<div class="head">
<h4><?php echo $this->__('Product Description') ?></h4>
</div>
<?php echo $_description ?>
</div>
<?php endif;?>
<?php if ($_additional = $this->getChildHtml('additional')):?>
<div class="collateral-box">
<div class="head">
<h4><?php echo $this->__('Additional Information') ?></h4>
</div>
<?php echo $_additional ?>
</div>
<?php endif;?>
<?php echo $this->getChildHtml('upsell_products') ?>
<?php echo $this->getChildHtml('product_additional_data') ?>
</div>
