Magento Forum

   
How do I display the SKU on a product page? 
 
Chris McCorkle
Jr. Member
 
Avatar
Total Posts:  4
Joined:  2008-08-07
Savannah, GA
 

Do I create an attribute for it? It’s already in the manage products section.

I am using the Modern theme and have found the phtml file for the product. I just need to know -what- to put!

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
nikefido
Guru
 
Avatar
Total Posts:  481
Joined:  2008-07-11
New Haven, CT
 

Not sure off the top of my head, but I believe the SKU is used as a product ID -

so possibly..
$_product-getSku(); or $_product->getId();

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top