Hello,

sabe the order article after canceling it and before recalculating the order:

$oOrderArticle-> cancelOrderArticle ()
$oOrderArticle->save()

Cheers,
Marat


Von: [email protected] 
[mailto:[email protected]] Im Auftrag von Alexander 
Schwarz
Gesendet: Montag, 2. Juni 2014 17:04
An: [email protected]
Betreff: [oxid-dev-general] Force recalculation of order

Hello,

is there a way to recalculate an order after it is saved? I want to build 
functionality for partial return deliveries.

I tried to cancel some orderArticles with
$oOrderArticle->cancelOrderArticle();

after I called $oOrder->recalculateOrder()

and $oOrder->save()

But at the end, I have the same total sums. At least the canceled order article 
is not showing up in the invoice,
but the calculation is not touched.

Thanks in advance for any help on this.

Best regards,

________________________________


Alexander Schwarz
Senior Web Developer


[cid:[email protected]]

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

Reply via email to