Return to Snippet

Revision: 20891
at November 30, 2009 03:06 by ttscoff


Initial Code
<?php
$entityTypeId = Mage::getModel('eav/entity')->setType('catalog_product')->getTypeId();
$attributeSet = Mage::getResourceModel('eav/entity_attribute_set_collection')->setEntityTypeFilter($entityTypeId)->addFilter('attribute_set_name', 'Quantity');
echo "<pre>";
	var_dump($attributeSet->getData());
echo "</pre>";
?>

Initial URL


Initial Description


Initial Title
Magento code to pull a single attribute set by name

Initial Tags
php, textmate, magento

Initial Language
Other