-
- srinigenie

-
Total Posts: 539
Joined: 2008-02-04
|
Hi all,
I was trying to check on the code for special price derivation and was happy to find that the special price is displayed using
price.phtml (template/catalog/product) and there is call
$this->getProduct()->getFinalPrice()
which is a call to Mage_Catalog_Model_Product.getFinalPrice(). In this method there is a callt to getSpecialPrice() which I am not able to locate anywhere!!
I wonder how this is working and where the defintion of getSpecialPrice() method is? Also the getSpecialPrice() method returns NULL on the product search page and hence the old price is displayed on the search page results grid. Is this expected behaviour?
Thanks in advance.
|