<?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; ?>Replace these lines with this:
<?php foreach ($_additional as $_data): ?> <?php $_attribute = $_product->getResource()->getAttribute($_data['code']); if (!is_null($_product->getData($_attribute->getAttributeCode())) && ((string)$_attribute->getFrontend()->getValue($_product) != '')) { ?> <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 } ?><?php endforeach; ?>Revisions
- November 26, 2015 @ 11:30:08 [Current Revision] by admin
- November 26, 2015 @ 11:30:08 by admin
Revision Differences
There are no differences between the November 26, 2015 @ 11:30:08 revision and the current revision. (Maybe only post meta information was changed.)
No comments yet.