source/Application/Model/Article.php
public function hasAmountPrice()
    {
        if (self::$_blHasAmountPrice === null) {
            self::$_blHasAmountPrice = false;

            $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
            $sQ = "SELECT 1 FROM `oxprice2article` LIMIT 1";

            if ($oDb->getOne($sQ)) {
                self::$_blHasAmountPrice = true;
            }
        }

        return self::$_blHasAmountPrice;
    }
public function hasAmountPrice()
    {
        if (self::$_blHasAmountPrice === null) {
            self::$_blHasAmountPrice = false;

            $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
            $sQ = "SELECT 1 FROM `oxprice2article` LIMIT 1";

            if ($oDb->getOne($sQ)) {
                self::$_blHasAmountPrice = true;
            }
        }

        return self::$_blHasAmountPrice;
    }
public function hasAmountPrice ( ) { if ( self :: $ _blHasAmountPrice === null ) { self :: $ _blHasAmountPrice = false ; $ oDb = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ sQ = "SELECT 1 FROM `oxprice2article` LIMIT 1" ; if ( $ oDb -> getOne ( $ sQ ) ) { self :: $ _blHasAmountPrice = true ; } } return self :: $ _blHasAmountPrice ; }
Checks if articles has amount price

@return bool
Checks if articles has amount price