Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

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