|
Hi,
I have been trying to find the code that decides the logic to display the price of a product and have been going in circles trying to find it. I believe price conversions should be centralized and should be at some place. For example, I was trying to figure out how the ‘price’ column on the Admin -> Catalog summary page gets displayed.
I had drilled down till this level.
First the controller Mage_Adminhtml_Catalog_ProductController.indexAction() is called.
|__ which seems to be calling the block Mage_Adminhtml_Block_Catalog_Product_Grid._prepareCollection()
|__ Mage_Adminhtml_Block_Widget_Grid._prepareCollection()
|__ Mage_Catalog_Model_Entity_Product_Collection.load
|__ Mage_Eav_Model_Entity_Collection_Abstractold._loadAttributes()
After going this far I am again confused if I am going in the right direction. Please help. I am trying to look for this as for INR currency, the formatting seems to be render in a wierd manner. Whatever price I seem to enter gets rendered as
0≤Rs.|1≤Re.|1
Also I am looking to store currency at a product level and am customizing my store for the same and any pointers would be immensely helpful.
Thanks in advance!!
Srini
|