Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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

 

Example:

 

Now:

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;

 reset($order->info['tax_groups']);
 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);
}
 }
}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
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...