
Public Member Functions | |
| getOptionList () | |
Protected Member Functions | |
| _getSelectionFinalPrice ($selectionProduct) | |
| _getSelectionQty ($selectionId) | |
Definition at line 34 of file Renderer.php.
| _getSelectionFinalPrice | ( | $ | selectionProduct | ) | [protected] |
Obtain final price of selection in a bundle product
| Mage_Catalog_Model_Product | $selectionProduct |
Definition at line 93 of file Renderer.php.
00094 { 00095 $bundleProduct = $this->getProduct(); 00096 return $bundleProduct->getPriceModel()->getSelectionFinalPrice( 00097 $bundleProduct, $selectionProduct, 00098 $this->getQty(), 00099 $this->_getSelectionQty($selectionProduct->getSelectionId()) 00100 ); 00101 }
| _getSelectionQty | ( | $ | selectionId | ) | [protected] |
Get selection quantity
| int | $selectionId |
Definition at line 109 of file Renderer.php.
00110 { 00111 if ($selectionQty = $this->getProduct()->getCustomOption('selection_qty_' . $selectionId)) { 00112 return $selectionQty->getValue(); 00113 } 00114 return 0; 00115 }
| getOptionList | ( | ) |
Get list of all otions for product
Reimplemented from Mage_Checkout_Block_Cart_Item_Renderer.
Definition at line 117 of file Renderer.php.
1.5.8