I’d like to show the additional info next to the image of a product.
What I did is modify the product/type/simple.phtml file and add the following code in product/type/simple.phtml
<?php $_additional = $this->getAdditionalData(); ?>
<?php echo $this->__('Additional Information') ?>
<table cellspacing="0" class="data-table" id="product-attribute-specs-table">
<?php foreach ($_additional as $_data): ?>
<?php echo $_data['label'] ?>
<?php echo $_data['value'] ?>
<?php endforeach; ?>
The code is exactly the same as what I found in product/wiew.phtml.
However, upon running, it seems that $_additional doesn’t get set.
If I perform an echo $this in product/view/simple.phtml I get product.info.simple
If I perform an echo $this in product/view.phtml, I get product.info
So I guess that there is a slight difference and that getAdditionalData() doesn’t work on a product.info.simple instance.
How can I make getAdditionalData() work on product.info.simple ???