Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

insert ex vat and inc vat on shopping cart box


moisea

Recommended Posts

Posted

hello there,

 

i would like to know how to insert the text "total ex vat" and also how to create a "total inc vat" on boxes/shopping_cart.php. here is a piece of the code where i think changes should happen:

 

$info_box_contents = array();
 $info_box_contents[] = array('text' => $cart_contents_string);

 if ($cart->count_contents() > 0) {
   $info_box_contents[] = array('text' => tep_draw_separator());
   $info_box_contents[] = array('align' => 'right',
                                'text' => $currencies->format($cart->show_total()));
 }

 

also because my site is in french and english how would i be able to adapte to the vat of each country? ie if use in french french vat applies or 17.5% if english.

 

many thanks. :thumbsup:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...