src/ShopBundle/objects/db/TShopOrderStep/TShopStepBasketCore.class.php
public function UpdateBasket($bInternalCall = false)
    {
        // we use the existing basket module to do all the work...
        $oShop = TdbShop::GetInstance();
        $oController = TGlobal::GetController();
        $oBasketModule = $oController->moduleLoader->GetPointerToModule($oShop->fieldBasketSpotName);
        $bSuccess = $oBasketModule->UpdateBasketItems(null, false, true);

        // redirect to current page
        if (!$bInternalCall) {
            $this->ReloadCurrentStep();
        }

        return $bSuccess;
    }
public function UpdateBasket($bInternalCall = false)
    {
        // we use the existing basket module to do all the work...
        $oShop = TdbShop::GetInstance();
        $oController = TGlobal::GetController();
        $oBasketModule = $oController->moduleLoader->GetPointerToModule($oShop->fieldBasketSpotName);
        $bSuccess = $oBasketModule->UpdateBasketItems(null, false, true);

        // redirect to current page
        if (!$bInternalCall) {
            $this->ReloadCurrentStep();
        }

        return $bSuccess;
    }
public function UpdateBasket ( $ bInternalCall = false ) { // we use the existing basket module to do all the work... $ oShop = TdbShop :: GetInstance ( ) ; $ oController = TGlobal :: GetController ( ) ; $ oBasketModule = $ oController -> moduleLoader -> GetPointerToModule ( $ oShop -> fieldBasketSpotName ) ; $ bSuccess = $ oBasketModule -> UpdateBasketItems ( null , false , true ) ; // redirect to current page if ( ! $ bInternalCall ) { $ this -> ReloadCurrentStep ( ) ; } return $ bSuccess ; }
update current basket.

@param bool $bInternalCall - if set to true, all redirects will be supressed

@return bool
update current basket .