Public Member Functions | |
chooseTemplate () | |
hasError () | |
getItemsSummaryQty () | |
isWishlistActive () | |
getCheckoutUrl () | |
getContinueShoppingUrl () | |
getIsVirtual () |
Definition at line 34 of file Cart.php.
chooseTemplate | ( | ) |
getCheckoutUrl | ( | ) |
getContinueShoppingUrl | ( | ) |
Definition at line 71 of file Cart.php.
00072 { 00073 $url = $this->getData('continue_shopping_url'); 00074 if (is_null($url)) { 00075 $url = Mage::getSingleton('checkout/session')->getContinueShoppingUrl(true); 00076 if (!$url) { 00077 $url = Mage::getUrl(); 00078 } 00079 $this->setData('continue_shopping_url', $url); 00080 } 00081 return $url; 00082 }
getIsVirtual | ( | ) |
getItemsSummaryQty | ( | ) |
hasError | ( | ) |
isWishlistActive | ( | ) |
Definition at line 56 of file Cart.php.
00057 { 00058 $isActive = $this->_getData('is_wishlist_active'); 00059 if ($isActive === null) { 00060 $isActive = Mage::getStoreConfig('wishlist/general/active') && Mage::getSingleton('customer/session')->isLoggedIn(); 00061 $this->setIsWishlistActive($isActive); 00062 } 00063 return $isActive; 00064 }