Magento product view page analysis (available in PDF)
Posted by Branko Ajzele under Magento @ 16th OCT 2008

One of the most edited file in Magento is the template file View.phtml file. Reason for this is that a lot of clients would like to rearrange it differently on their online stores. Here is the analysis of that file and the list of all the methods it uses.
Magento product view page analysis (ready for print PDF)
Document above reflects Magento 1.1.6. methods and classes.
One thing to keep in mind, this document shows you the View.phtml block file and shows you it’s inherited methods. All of the Magento block files have the similar inheritance principle. Therefore to find out the available methods all you need to do is open up the extended (inherited) classes.
If you are using some smart IDE solution like NetBeans 6.5 with PHP code completion support, you can simply do the Mage_Catalog_Block_Product_View-> and press the Ctrl + Space to get the dropdown list of all the available methods. If that’s not the case, then you will how to do the things the manual way.
Hope some of you would find this useful.
4 Responses to “Magento product view page analysis (available in PDF)”
Leave a Reply
Recent Posts:
- 02 Jan Contact Form in Magento
- 31 Dec Review of Zend Studio for...
- 28 Dec What is a #pragma mark?
- 22 Dec More Flexible Approach fo...
- 19 Dec Is YouTube the Future of ...
- 17 Dec CRU(EL)D: Reinventing the...
- 17 Dec Toni Anicic on Vidi Web T...
- 16 Dec 1 PSD and 2 Web Tools for...
- 12 Dec Wordpress 2.7 Is Out—an...
- 08 Dec First time working with O...
Tags:
ajax color oscommerce theme tutorials management method Online Marketing search product iphone view Wordpress tool class object template Tools Magento seo graph framework jquery development navigation Google products advertising project marketing
Recent Comments:
- Tomislav Bilic on CRU(EL)D: Reinventing the Wheel:
Hi Anshul, I guess you were speaking about this project: http://propel.phpdb.org/trac/... - Anshul on CRU(EL)D: Reinventing the Wheel:
May be using a Class generator which will generate Object class based on your DB schema can be of he... - Adam on Review of Zend Studio for Eclipse Professional Edition 6.1:
I used to use Zend Studio exclusively for all my development work. But I can't justify the price tha... - Hisham on Featured products on Magento frontpage:
Does this tutorial works with 1.2 ?... - Suomedia on What is the best shopping cart?:
Which is best really depends on the needs of the user. osCommerce has and continues to serve many us... - edulink.cz on Manual creation of Google Sitemap in Magento:
Thank you, very usefull!... - Branko Ajzele on Review of Zend Studio for Eclipse Professional Edition 6.1:
Hi Tony. Nice to hear you like the article. I still havent manage to play with Magento in it. Will... - Reddy on UPS API Quest:
Hello Ben, I need UPS API docs. I did a lot Google searches, but didn't find anywhere. So please ... - Tony on Review of Zend Studio for Eclipse Professional Edition 6.1:
Great Article! I always look forward to anything that will help me with Magento. I have been using C... - New Revolution Theme Released on Revolution 2 is launched:
Brian just launched a new theme called Streamline just the other day. Merry Christmas, it's free to...

What app/utility provided this breakdown of available methods and hierarchy?
I have just started using Magento, so far so good. Allthough in a rush at the moment so I can’t read all your posts, I’m adding this to Delicious.
The community over at Magento seems great too, however I wish there where just one giant walkthrough of making your own theme, from start to finish.
Hi Scott,
Not sure if I understood you correctly… All of the stuff in the PDF file was done in by NetBeans and simple screen shooting
In NetBeans 6.5 you have an option to right click the class name then select Go to Declaration, or you can simply click the class name and wait about second or two until it gets highlighted then click Ctrl + B to do the same thing.
Hi,
thanks for a very clean analysis of the View.phtml page.
I am trying to make this page a bit customized, can you suggest me how to add a link to print the current product details on this page..
Any suggestions would be really helpful.
Thanks,
Vibhor