source/Application/Model/Basket.php
public function isNewItemAdded()
    {
        if ($this->_blNewITemAdded == null) {
            $this->_blNewITemAdded = (bool) \OxidEsales\Eshop\Core\Registry::getSession()->getVariable("blAddedNewItem");
            \OxidEsales\Eshop\Core\Registry::getSession()->deleteVariable("blAddedNewItem");
        }

        return $this->_blNewITemAdded;
    }
public function isNewItemAdded()
    {
        if ($this->_blNewITemAdded == null) {
            $this->_blNewITemAdded = (bool) \OxidEsales\Eshop\Core\Registry::getSession()->getVariable("blAddedNewItem");
            \OxidEsales\Eshop\Core\Registry::getSession()->deleteVariable("blAddedNewItem");
        }

        return $this->_blNewITemAdded;
    }
public function isNewItemAdded ( ) { if ( $ this -> _blNewITemAdded == null ) { $ this -> _blNewITemAdded = ( bool ) \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> getVariable ( "blAddedNewItem" ) ; \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> deleteVariable ( "blAddedNewItem" ) ; } return $ this -> _blNewITemAdded ; }
Returns true if new product was just added to basket

@return bool
Returns true if new product was just added to basket