source/Application/Model/User.php
protected function _getWishListId()
    {
        $this->_sWishId = null;
        // check if we have to set it here
        $oBasket = $this->getSession()->getBasket();
        foreach ($oBasket->getContents() as $oBasketItem) {
            if ($this->_sWishId = $oBasketItem->getWishId()) {
                // stop on first found
                break;
            }
        }

        return $this->_sWishId;
    }
protected function _getWishListId()
    {
        $this->_sWishId = null;
        // check if we have to set it here
        $oBasket = $this->getSession()->getBasket();
        foreach ($oBasket->getContents() as $oBasketItem) {
            if ($this->_sWishId = $oBasketItem->getWishId()) {
                // stop on first found
                break;
            }
        }

        return $this->_sWishId;
    }
protected function _getWishListId ( ) { $ this -> _sWishId = null ; // check if we have to set it here $ oBasket = $ this -> getSession ( ) -> getBasket ( ) ; foreach ( $ oBasket -> getContents ( ) as $ oBasketItem ) { if ( $ this -> _sWishId = $ oBasketItem -> getWishId ( ) ) { // stop on first found break ; } } return $ this -> _sWishId ; }
Checks if product from wishlist is added

@return $sWishId
Checks if product from wishlist is added