context->customer; $order = new Order($this->id_order); $cart = new Cart($order->id_cart); $carrier = new Carrier($order->id_carrier, Context::getContext()->language->id); $summary = $cart->getSummaryDetails(); $message = Message::getMessageByCartId($order->id_cart); $this->context->smarty->assign( array( 'customer' => $customer, 'order' => $order, 'carrier' => $carrier, 'recap' => true, 'products' => $summary['products'], 'delivery' => $summary['delivery'], 'invoice' => $summary['invoice'], 'discounts' => $summary['discounts'], 'total_discounts' => $summary['total_discounts'], 'total_wrapping' => $summary['total_wrapping'], 'total_products_wt' => $summary['total_products_wt'], 'gift_products' => $summary['gift_products'], 'noDeleteButton' => true, 'total_shipping' => $order->total_shipping_tax_incl, 'total_shipping_tax_exc' => $order->total_shipping_tax_excl, 'total_price' => $order->total_paid, 'voucherAllowed' => false, 'show_option_allow_separate_package' => false, 'message' => $message ) ); } }