Skip to content

Magento: Get All Product Attributes

it took me 2 days to figure this out man!!

hopes it help

please:

 

$productAttrs = Mage::getResourceModel(‘catalog/product_attribute_collection’);

print_r($productAttrs->toArray());

 

/* sample print out

*/

Share

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.