magento show product attributes

/ Published in: PHP
Save to your folder(s)

Copy this code and paste it in your HTML
  1. // If you are using a dropdown or a multiple select:
  2. <?php echo $_product->getAttributeText('shirt_size') ?>
  4. // If it is a text field (textbox or textarea), this is all you have to do:
  5. <?php echo $_product->getAttributeName() ?>


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.