|
Hi
I want to customize the Additional Information in product view page with sub-groups like below:
http://www.flipkart.com/dell-inspiron-15r-n5520-laptop-3rd-gen-ci3-2gb-500gb-linux-1gb-graph/p/itmddu8uxfpggjbg
Please refer to “Specifications of Dell Inspiron 15R N5520 Laptop (3rd Gen Ci3/ 2GB/ 500GB/ Linux/ 1GB Graph) (Silver & Black)” in above URL.
I am able to display all attributes actually, but i am not able to display the attributes in different sub-groups.
Can someone please help me? How can i identify and separate the attributes while display.
Below is the present code of attributes.phtml
<?php if($_additional = $this->getAdditionalData()): ?> <h2><?php echo $this->__('Additional Information') ?></h2> <table class="data-table" id="product-attribute-specs-table"> <col width="25%" /> <col /> <tbody> <?php foreach ($_additional as $_data): ?> <tr> <th class="label"><?php echo $this->htmlEscape($this->__($_data['label'])) ?></th> <td class="data"><?php echo $_helper->productAttribute($_product, $_data['value'], $_data['code']) ?></td> </tr> <?php endforeach; ?> </tbody> </table> <script type="text/javascript">decorateTable('product-attribute-specs-table')</script> <?php endif;?>
Thanks & Regards
ecomse
|