Protected Member Functions | |
_toHtml () |
Definition at line 35 of file Grouped.php.
_toHtml | ( | ) | [protected] |
Prepare item html
This method uses renderer for real product type
Reimplemented from Mage_Core_Block_Template.
Definition at line 44 of file Grouped.php.
00045 { if ($this->getItem()->getOrderItem()) { 00046 $item = $this->getItem()->getOrderItem(); 00047 } else { 00048 $item = $this->getItem(); 00049 } 00050 if ($productType = $item->getRealProductType()) { 00051 $renderer = $this->getRenderedBlock()->getItemRenderer($productType); 00052 $renderer->setItem($this->getItem()); 00053 return $renderer->toHtml(); 00054 } 00055 return parent::_toHtml(); 00056 }