public function delete($sOXID = null)
    {
        if (!$sOXID) {
            $sOXID = $this->getId();
        }

        $blDelete = false;
        if ($sOXID && ($blDelete = parent::delete($sOXID))) {
            // cleaning up related data
            $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
            $sQ = "delete from oxuserbasketitems where oxbasketid = " . $oDb->quote($sOXID);
            $oDb->execute($sQ);
            $this->_aBasketItems = null;
        }

        return $blDelete;
    }