Model/Basket.php
public function isVirtualPayPalBasket()
    {
        $isVirtual = true;

        $products = $this->getBasketArticles();
        foreach ($products as $product) {
            if (!$product->isVirtualPayPalArticle()) {
                $isVirtual = false;
                break;
            }
        }

        return $isVirtual;
    }
public function isVirtualPayPalBasket()
    {
        $isVirtual = true;

        $products = $this->getBasketArticles();
        foreach ($products as $product) {
            if (!$product->isVirtualPayPalArticle()) {
                $isVirtual = false;
                break;
            }
        }

        return $isVirtual;
    }
public function isVirtualPayPalBasket ( ) { $ isVirtual = true ; $ products = $ this -> getBasketArticles ( ) ; foreach ( $ products as $ product ) { if ( ! $ product -> isVirtualPayPalArticle ( ) ) { $ isVirtual = false ; break ; } } return $ isVirtual ; }
Checks if products in basket ar virtual and does not require real delivery.
Returns TRUE if virtual

@return bool
Checks if products in basket ar virtual and does not require real delivery . Returns TRUE if virtual