How to call a custom php file on magento product page

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2012-10-01T15:36:26Z Indexed on 2012/10/01 15:37 UTC
Read the original article Hit count: 162

Filed under:

if getChildHtml('product_type_data') ?> maps directly to catalog/product/view/type/simple.phtml by default, how do I map to my own file? If I wanted to create a file that would produce a small image to place on the product page, right under "availability" how would I tell magento to map to where I have put the file? From what I understand getChildHtml('product_type_data') ?> defaults to the file path: catalog/product/view/type/simple.phtml so how can I customize the magento defaults and tell it to map to my custom files i've created?

I hope I have explained this well enough, if not, please let me know and I will try to explain more. Any help or guidance would be awesome. Thanks.

© Stack Overflow or respective owner

Related posts about magento