Hey there,

i wan't to write a file, when a customer has finished his order.

my modul overrides the finalizeOrder:

public function finalizeOrder( oxBasket $oBasket, $oUser,
$blRecalculatingOrder = false )
    {
        $myConfig = oxRegistry::getConfig();
        $path =
$myConfig->getConfigParam('sShopDir').'/module/arvato/as_c4s/file/';
        $file = $path.'c4s.txt';
        oxUtils::getInstance()->writeToLog('1: '.$file, 'c4s.txt');
        //oxRegistry::getUtils()->writeToLog('2: '.$file, 'c4s.txt');

        return parent::finalizeOrder($oBasket, $oUser,
$blRecalculatingOrder);
    } //function

For Tests i write the Filename in a File. But no way runs. What's wrong. Oh
it's a EE 5.1.5

Thx and Cheers
Ralf
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to