How to add an attribute or attribute sets on homepage magento. 1.9.0 -
i want add custom search on frontend(magento). want add 2 or 3 attributes on frontend make custom/advanced search. have tried add catalosearch/advanced frontend attributes not showing dropdown menu product page. :)
first make attribute searcheable admin. catalog->attribute->manage attributes. enable used in quick search , used in advanced search. searcheable attribute this
$attributes = array(); foreach ($this->getsearchableattributes() $_attribute): $attributes[$_attribute->getattributecode()] = $_attribute; endforeach;
show attribute $attributes['attribute_code'];
Comments
Post a Comment