-
Notifications
You must be signed in to change notification settings - Fork 7
Description
How to get promo price or final price?
I tried to change it at: app/code/local/Mage/CatalogSearch/Block/Autocomplete.php
But it did not get
I changed 'price' => $item->getPrice(), to 'price' => $item->getFinalPrice(),
But it did not work I guess it needs to be changed at:
$html .= '<li title="'.$this->escapeHtml($item['title']).'" class="'.$item['row_class'].'">' . '<a href="'.$item['url_path'].'"><div style="max-width:30%; float:left;" class="product-photo-search"><img src="'.$item['image_url'].'" /></div><div style="max-width:69%; float:left; margin-top:6px;padding-left:3px" class="name-product-search"><span>'.$this->escapeHtml($item['title']). "<br />". "<span style='display:inline-block; margin-top:6px;' class='price-custom-span'>Price: " . number_format((float)$item['price'], 2, '.', '') . "" . $current_store_symbol .'</span></span></div></a></li>'; }
But I don't know how to edit it as I normaly only deal with phtml files
I know it has a long time it was created, but it is still a great module
Regards