Magento: Echo Product Attribute


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

Replace "getMyAttribute" with "get" followed by the attribute name in camel case.


Copy this code and paste it in your HTML
  1. <?php echo $_product->getMyAttribute() ?>

URL: http://www.magentocommerce.com/wiki/4_-_themes_and_template_customization/catalog/add-attributes-to-product-grid

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.