I am using porto theme in magento 1.9. i want to display product SKU only on product page below product name. how can we add product SKU on product page.


1 Answer 1


Edit file app/design/frontend/yourtheme/package/template/catalog/product/view.phtml

if you want to add SKU then please add following code underneath of H1 tag (product name). <h1><?php echo $_helper->productAttribute($_product, $_product->getSku(), 'sku') ?></h1>

To remove the attribute from details section, comment out the line <?php echo $_product->getSku(); ?>


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.