if ($_SESSION['customers_status']['customers_status_show_price_tax'] == 0 && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 1) { if (sizeof($order->info['tax_groups']) > 1) { $data_products .= ' <td valign="top" align="right">' . xtc_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n"; } } $data_products .= '</tr><tr><td class="table_products_space"></td></tr>' . "\n"; $t_products_array[] = $t_products_item; } $t_products_array[sizeof($t_products_array) - 1]['flag_last_item'] = true; $data_products .= '</table>'; $smarty->assign('PRODUCTS_BLOCK', $data_products); # products table part $coo_content_view = new ContentView(); $coo_content_view->set_content_template('module/checkout_confirmation_products.html'); $coo_content_view->set_content_data('products_data', $t_products_array); $t_products_table_part = $coo_content_view->get_html(); $smarty->assign('PRODUCTS_TABLE_PART', $t_products_table_part); // EOF GM_MOD if ($order->info['payment_method'] != 'no_payment' && $order->info['payment_method'] != '') { include DIR_WS_LANGUAGES . '/' . $_SESSION['language'] . '/modules/payment/' . $order->info['payment_method'] . '.php'; $smarty->assign('PAYMENT_METHOD', constant(MODULE_PAYMENT_ . strtoupper($order->info['payment_method']) . _TEXT_TITLE)); if (isset($_GET['payment_error']) && is_object(${$_GET['payment_error']}) && ($error = ${$_GET['payment_error']}->get_error())) { $smarty->assign('error', $error['title'] . '<br />' . htmlspecialchars($error['error'])); } } $smarty->assign('PAYMENT_EDIT', xtc_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); // BOF GM_MOD saferpay if (strpos($_SESSION['payment'], 'saferpaygw') === false) { $total_block = '<table id="total_block_table">'; if (MODULE_ORDER_TOTAL_INSTALLED) { $order_total_modules->process();