cancel
Showing results for 
Search instead for 
Did you mean: 

Where is the location of the code for the prices?

Where is the location of the code for the prices?

I am wondering where the code is (assuming an .phtml file) that is incharge of printing the price on the website. I want to add a "you save" section if there is a special price and i figured that the code for that would be easy, i just can not locate the file to change. I realize there is probably an extension out there that can do this, I just would rather not instal another extention on my server. Any info is appriciated.

 

Thanks, 

Bryan Hill

1 REPLY

Re: Where is the location of the code for the prices?

The file is

 

/app/code/design/frontend/base/default/template/catalog/product/price.phtml

 

Good luck as it is an infamous file at 458 lines of fun.

 

You could have also turned on template hints to find this. Check out how to do that here:

http://kimberelyt.com/blog/magento-debugging-how-to-debug-template-paths-logging-and-display-errors

Kimberely Thomas
Magento Certified Solution Specialist
Business Solutions Architect
Magento, Expert Consulting Group
@magentogirl