view
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.
Read more. |Figuring out Magento object context
Posted by Branko Ajzele under Magento, Tools @ 10th SEP 2008
One of the problems working under the hood of the Magento CMS is determining the context of $this. If you are about to do any advanced stuff with your template, besides layout changes, you need to get familiar with Magento’s objects (classes).
Let’s have a look at the /app/design/frontend/default/default/template/catalog/product/view.phtml file. If you open this file and execute var_dump($this) your browser will return empty page after a short period of delay. By page I mean on the product view page; the one you see when you click on Magetno product. Experienced users will open PHP error log and notice the error message caused by var_dump().
Read more. |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:
tutorials object Tools method marketing Online Marketing product Wordpress development graph products template project framework seo navigation class tool Magento search color jquery oscommerce view management theme Google advertising ajax iphone
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...