Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Load product model
- $product = Mage::getModel('catalog/product')->load($id);
- // Get attribute value
- echo $product->getAttributeText('color')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement