pietjanssen Posted August 27, 2015 Share Posted August 27, 2015 (edited) When I hook on ActionCartSave I like to get the shipping cost at that moment and do some other stuff. But the shipping cost is always zero and the front is also a mess. When i remove this code the front shows the price correctly of 5 euro. public function hookActionCartSave() { $cart = $this->context->cart; $shipping = $cart->getOrderTotal(true, Cart::ONLY_SHIPPING); } So how can I get the correct shipment cost of 5 euro after the cart is saved? Cant find the problem. Thanks in advance. SOLVED It looks like the after cart save the new carrier is not set yet. So i have to get the new carrier first. Edited August 27, 2015 by pietjanssen (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts