"  " . BOX_HEADING_SHOPPING_CART); new menuInfoBoxHeading($menu_info_box_contents, false, false, tep_href_link(FILENAME_SHOPPING_CART)); // était placé à ..false, true.. // -> OSC-12 : Arrondissement des angles pour le visuel du site $cart_contents_string = ''; if ($cart->count_contents() > 0) { $cart_contents_string = ''; $products = $cart->get_products(); for ($i=0, $n=sizeof($products); $i<$n; $i++) { $cart_contents_string .= ''; if ((tep_session_is_registered('new_products_id_in_cart')) && ($new_products_id_in_cart == $products[$i]['id'])) { tep_session_unregister('new_products_id_in_cart'); } } $cart_contents_string .= '
'; if ((tep_session_is_registered('new_products_id_in_cart')) && ($new_products_id_in_cart == $products[$i]['id'])) { $cart_contents_string .= ''; } else { $cart_contents_string .= ''; } $cart_contents_string .= $products[$i]['quantity'] . ' x '; if ((tep_session_is_registered('new_products_id_in_cart')) && ($new_products_id_in_cart == $products[$i]['id'])) { $cart_contents_string .= ''; } else { $cart_contents_string .= ''; } $cart_contents_string .= $products[$i]['name'] . '
'; } else { $cart_contents_string .= BOX_SHOPPING_CART_EMPTY; } // <- OSC-12 : Arrondissement des angles pour le visuel du site $menu_info_box_contents = array(); $menu_info_box_contents[] = array('text' => $cart_contents_string); if ($cart->count_contents() > 0) { $menu_info_box_contents[] = array('text' => tep_draw_separator()); $menu_info_box_contents[] = array('align' => 'right', // -> OSC-70 : Gestion HT/TTC : affichage prix HT et TTC /* * Affichage du prix total de tout les articles dans le panier, en HT, et en TTC (en gras). * utilise la méthode modifiée de la classe shoppingCart */ 'text' => $currencies->format($cart->show_total( 'HT' ,$is_partner,$coeff_partner)) . ' ' . 'HT' . ' / ' . $currencies->format($cart->show_total( 'TTC',$is_partner,$coeff_partner )) . ' ' . 'TTC' ); // <- OSC-70 : Gestion HT/TTC : affichage prix HT et TTC } new menuInfoBox($menu_info_box_contents); // -> OSC-12 : Arrondissement des angles pour le visuel du site ?>