Public Member Functions | |
getCheckout () | |
getQuote () | |
getVirtualProductEditUrl () | |
getVirtualQuoteItems () |
Definition at line 34 of file Items.php.
getCheckout | ( | ) |
Get multishipping checkout model
Definition at line 41 of file Items.php.
00042 { 00043 return Mage::getSingleton('checkout/type_multishipping'); 00044 }
getQuote | ( | ) |
Retrieve quote model object
Definition at line 51 of file Items.php.
00052 { 00053 return Mage::getSingleton('checkout/session')->getQuote(); 00054 }
getVirtualProductEditUrl | ( | ) |
getVirtualQuoteItems | ( | ) |
Retrieve virtual product collection array
Definition at line 71 of file Items.php.
00072 { 00073 $items = array(); 00074 foreach ($this->getQuote()->getItemsCollection() as $_item) { 00075 if ($_item->getProduct()->getIsVirtual() && !$_item->getParentItemId()) { 00076 $items[] = $_item; 00077 } 00078 } 00079 return $items; 00080 }