Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Separate Tax lines


Recommended Posts

I'm charging two (2) tax to my customer but I want them to be on separate line.





Tax1 + Tax2 = 3.94


I Want:

Tax1: 2.94$

Tax2: 1.00$


I cannot figure out how to change theses lines in includes/modules/order_total/ot_tax.php


function process() {
 global $order, $currencies;

 while (list($key, $value) = each($order->info['tax_groups'])) {
if ($value > 0) {
  $this->output[] = array('title' => $key . ':',
						  'text' => $currencies->format($value, true, $order->info['currency'], $order->info['currency_value']),
						  'value' => $value);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...