How to display SKU on Frontend Product View

How do I display SKU on the frontend? I am using JM Sporty template.
The attribute is set to display on the frontend in the configuration but SKU still wont show.
Any help would be really appreciated.
Thanks and regards

6 answers

Profile photo of vanderex 500.00 $tone April 1, 2015

MAke  design/frontend/default/jm_casual/template/catalog/product/view.phtml   
like this…
<?php if($_product->isSaleable()): ?>
<p class=”availability in-stock”><?php echo $this->__(‘Availability’);?>: <span><?php echo $this->__(‘In stock’) ?></span></p>
<?php else: ?>
<p class=”availability out-of-stock”><?php echo $this->__(‘Availability’);?>: <span><?php echo $this->__(‘Out of stock’) ?></span></p>
<?php endif; ?>
<p class=”availability sku”><?php echo $this->__(‘Sku’);?>: <span>
echo $_helper->productAttribute($_product, nl2br($_product->getSku()), ‘sku’) ?>
<?php //echo $this->htmlEscape($_product->getSku()) ?>
<?php if (!$this->hasOptions()):?>
<div class=”add-to-box”>

Profile photo of Ziven Staff 100720.00 $tone April 6, 2015

Hi Yogi,
I need a closer look to detect the root of issue, please PM me url, admin and ftp credentials of your site.
Best Regards,


Please login or Register to Submit Answer

Written By