Tuesday 2 December 2014

Magento Get Dropdown Attribute value

The attribute code is supposed to be 'my_custom_attribute'





$attributeValue = Mage::getModel('catalog/product')


            ->load($_product->getId())


            ->getAttributeText('my_custom_attribute');






3 comments:

  1. This post has the dropdown attribute value which has been used in Megento. Pretty nice post and keep updating.
    Covid

    ReplyDelete
  2. This post is really nice and very informative, keep updating your post.

    gemstone store in lajpat nagar

    GOMED stone online

    ReplyDelete