Magento 1.9: Show my Additional Information Details into Short Description Section
-
13-03-2021 - |
Question
My additional information :
app\design\frontend\default\theme327k\template\catalog\product\view\attrubutes.phtml
<div class="box-collateral-content">
<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>
</div>
I want to add my additional information into my short description section :
app\design\frontend\default\theme327k\template\catalog\product\view.phtml
Solution
You can add Additional Information section in by adding below code of line in your app\design\frontend\default\theme327k\template\catalog\product\view.phtml
after the short description section.
echo $this->getLayout()->createBlock('catalog/product_view_attributes')->setTemplate('catalog/product/view/attributes.phtml')->toHtml();
Hope it helps!!!
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange