Magento: Search by Product attribute
- Read more about Magento: Search by Product attribute
- Log in to post comments
# create Output.php.search-by-attribute.diff
--- ./app/code/core/Mage/Catalog/Helper/Output.php 2010-10-06 17:13:09.000000000 +0200
+++ ./app/code/local/Mage/Catalog/Helper/Output.php 2010-10-06 17:12:45.000000000 +0200
@@ -111,6 +111,11 @@
'product' => $product,
'attribute' => $attributeName
));
+
+ if ($attributeName != "item" && $attributeName != "description" && $attributeName != "name") {
+ $attributeHtml = "" . $attributeHtml .