![]()
Just found out a really quick and easy way to figure out which Magento PHP Class is responsible for putting together everything that is needed for any given template. It’s as easy as dropping in one simple line of code. Just place the following into any .phtml template files:
<?php echo 'This Template\'s Class: '.get_class($this); ?>
If you are using more text edit approach to developemnt, you can find use in stuff like
<?php
echo ‘
‘;
?>
or
<?php
echo ‘
‘;
?>
or
<?php
echo ‘
‘;
?>
Very nice! Thanks Branko! That definitely is helpful.