/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// If you are using a dropdown or a multiple select: <?php echo $_product->getAttributeText('shirt_size') ?> // If it is a text field (textbox or textarea), this is all you have to do: <?php echo $_product->getAttributeName() ?>
URL: http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/