public function getCart(array $conditions = array())
    {
        $conditions += array(
            'user_id' => $this->cart_uid,
            'store_id' => $this->store_id
        );

        $cart = $this->cart->getContent($conditions);
        $this->prepareCart($cart);
        return $cart;
    }
public function getCart(array $conditions = array())
    {
        $conditions += array(
            'user_id' => $this->cart_uid,
            'store_id' => $this->store_id
        );

        $cart = $this->cart->getContent($conditions);
        $this->prepareCart($cart);
        return $cart;
    }
public function getCart ( array $ conditions = array ( ) ) { $ conditions += array ( 'user_id' => $ this -> cart_uid , 'store_id' => $ this -> store_id ) ; $ cart = $ this -> cart -> getContent ( $ conditions ) ; $ this -> prepareCart ( $ cart ) ; return $ cart ; }
Returns the current cart data
@param array $conditions
@return array
Returns the current cart data