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, cant 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