Beispiel #1
0
 /**
  * Check attributes has options and searchable
  *
  * @param Mage_Catalog_Model_Entity_Attribute $attribute
  * @return boolean
  */
 protected function _hasAttributeOptionsAndSearchable($attribute)
 {
     if ($attribute->getIsSearchable() && in_array($attribute->getFrontendInput(), array('select', 'multiselect'))) {
         return true;
     }
     return false;
 }