If it is a bug, it would be great if you would send your bugfix as a pull request. :)

https://github.com/OXID-eSales/oxideshop_ce


Greets
Roman

Am 29.09.2014 10:39, schrieb Alex Schwarz:
Hi Frank,

many thanks for that. I got it working, simply resetting the array in a new 
module.

Have a good week

Alex Schwarz / active value GmbH

Am 28.09.2014 um 12:06 schrieb Frank Zunderer <frank.zunde...@zunderer.de>:

Hi,

maybe it's because of this bug:
https://bugs.oxid-esales.com/view.php?id=4385
oxDeliveryList::getDeliveryList is called in oxbasket:: _calcDeliveryCost
$this->_aDeliveries is not resetted, so if you call the method multiple
times, _aDeliveries add up.

Regards,
Frank Zunderer

Zunderer IT Beratung
Waldstr. 22
82205 Gilching

08105-777250
0173-8362768
it-berat...@zunderer.de



-----Ursprüngliche Nachricht-----
Von: dev-general-boun...@lists.oxidforge.org
[mailto:dev-general-boun...@lists.oxidforge.org] Im Auftrag von Alex Schwarz
Gesendet: Donnerstag, 25. September 2014 18:08
An: dev-general@lists.oxidforge.org
Betreff: [oxid-dev-general] Recalculation of Delivery Costs / Splitting
Orders

Hi,

I am working on a module to split one OXORDER into many, based on the
vendors. For now I clone the actual order object, set my order articles I
want for this Order, call recalculate functions and save.

Everything is working fine but the delivery costs. In the last order I
always have the delivery costs of the previous one. So it seems on the last
order I have the delivery costs of the original order (all delivery costs).
I think there is a cache or something. Or it reload from the session basket?
Working the whole day on it, can’t figure it out.

I already call the reload methos (reloadDelivery true, reloadDiscount true
and recalculateOrder)

Anyone got an idea?

Alex Schwarz / active value
_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general


--
Dipl.Winf. (FH) Roman Allenstein
Sales Manager E-Commerce

Spark 5 GmbH
Lutherstraße 7
27576 Bremerhaven
Fon: +49 (471) 4836-3547
Fax: +49 (6151) 8508-111
Mail: roman.allenst...@spark5.de
Web: http://www.spark5.de
--
Geschäftsführer:
Henrik von Wehrs
Amtsgericht Darmstadt, HRB 7809
_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to