diff --git a/controllers/front/OrderConfirmationController.php b/controllers/front/OrderConfirmationController.php index 40955333f..c7af4835c 100644 --- a/controllers/front/OrderConfirmationController.php +++ b/controllers/front/OrderConfirmationController.php @@ -155,9 +155,6 @@ class OrderConfirmationControllerCore extends FrontController if (!empty($orderProducts)) { foreach ($orderProducts as $type_key => $type_value) { - if (in_array($type_value['product_id'], $processed_product)) { - continue; - } $processed_product[] = $type_value['product_id']; $product = new Product($type_value['product_id'], false, $this->context->language->id); @@ -372,13 +369,6 @@ class OrderConfirmationControllerCore extends FrontController } } - - if (!empty($cart_htl_data)) { - $this->context->smarty->assign('cart_htl_data', $cart_htl_data); - } - if (!empty($cart_service_products)) { - $this->context->smarty->assign('cart_service_products', $cart_service_products); - } } if (!$objCartOrder->hasInvoice()) { $orders_has_invoice = 0; @@ -402,6 +392,13 @@ class OrderConfirmationControllerCore extends FrontController } } + if (!empty($cart_htl_data)) { + $this->context->smarty->assign('cart_htl_data', $cart_htl_data); + } + if (!empty($cart_service_products)) { + $this->context->smarty->assign('cart_service_products', $cart_service_products); + } + $this->context->smarty->assign('orderTotalInfo', $orderTotalInfo); $this->context->smarty->assign('non_requested_rooms', $non_requested_rooms); $this->context->smarty->assign('orders_has_invoice', $orders_has_invoice);