On my product details page I have three tabs, with the help of the following code:
<div class="product-collateral toggle-content tabs">
<?php if ($detailedInfoGroup = $this->getChildGroup('detailed_info', 'getChildHtml')):?>
<dl id="collateral-tabs" class="collateral-tabs">
<?php foreach ($detailedInfoGroup as $alias => $html):?>
<?php
if(trim($html)=="") continue;
?>
<dt class="tab"><span><?php echo $this->escapeHtml($this->getChildData($alias, 'title')) ?></span></dt>
<dd class="tab-container">
<div class="tab-content"><?php echo $html ?></div>
</dd>
<?php endforeach;?>
</dl>
<?php endif; ?>
</div>
The tab contents are like:
Now I want to create a new and separate product-collateral tab near the above mentioned tabs.
When I use the below line in catalog.xml
it is adding the tab content to the same tab.
<action method="addToParentGroup"><group>detailed_info</group></action>
I want to create a separate tab like the above one, not add to the existing one.
How can this be done?
product-collateral
block with tab(s) ?