I would like to display the product SKU on the category pages.
I managed to plant it in the short description on every product page using:
<div class="std">
<h5><?php echo $this->__('Product Code: ') . $this->htmlEscape($_product->getData('sku'));?></h5>
</div>
this was on view.phtml
If i apply the same code inside list.phtml it displays on site "Product Code:" but no actual SKU number.
I am placing it just below:
<?php if ($gc['display_price'] == 1) echo '<div class="display-onhover">'; ?>
<?php echo $this->getPriceHtml($_product, true); ?>
<?php if ($gc['display_price'] == 1) echo '</div>'; ?>