While Pratzky is right that this is a bad form (I am already moving forward as such), there were times when they were developing, when it was either a valuable debugging technology, or it made a difference of several hours of programming. In that spirit, this is a bad way to do this:
<?php print $this->getLayout() ->createBlock("catalog/product_view") ->setTemplate("catalog/product/view/addto.phtml") ->toHtml(); ?>
Use sparingly, if at all.
Joseph Mastey
source share