Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $attribute = Mage::getSingleton('eav/config')
- ->getAttribute(Mage_Catalog_Model_Product::ENTITY, 'stock_reason');
- if ($attribute->usesSource()) {
- $options = $attribute->getSource()->getAllOptions(false);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement