Edit Product Meta

I can't find where I can edit the product meta and replace the price with thumbnails of the product. I know I can remove the price through css but I want to know exactly what php file I can edit.