Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Tax label not displaying


Guest

Recommended Posts

Posted

Everythings working fine, up to the point where you get to checkout_confirmation.

 

If you choose CA, you get taxed, but in the price table, it displays the tax value, but not the label tax

 

looks like this:

 

Sub-Total: $749.99

Shipping: $0.00

: $54.37

Total: $804.36

 

I don't know why it's doing that. This is what I believe is the "Tax" label caller in /catalogue/checkout_confirmation.php:

 

 

 

<td class="main" colspan="2"><?php echo '<b>' . HEADING_PRODUCTS . '</b> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>
				<td class="smallText" align="right"><b><?php echo HEADING_TAX; ?></b></td>
				<td class="smallText" align="right"><b><?php echo HEADING_TOTAL; ?></b></td>

 

and HEADING_TAX is defined in language/english/checkout_confirmation.php:

 

define('HEADING_PRODUCTS', 'Products');
define('HEADING_TAX', 'Tax');
define('HEADING_TOTAL', 'Total');

 

 

If i'm wrong please let me know so I can find the right area and fix this problem. If this is correct, any suggestions on why it's not displaying Tax: ?

 

Thanks in advance to anyone willing to help.

Posted

Looks like I was wrong, it's actually part of

 

 if (MODULE_ORDER_TOTAL_INSTALLED) {
$order_total_modules->process();
echo $order_total_modules->output();

 

I think.

 

I've looked into

 

cart/includes/modules/order_total/ot_tax.php

 

and i'm guessing

 

$this->title = MODULE_ORDER_TOTAL_TAX_TITLE;

-------------------------------------------------------------

$this->output[] = array('title' => $key . ':',
							  'text' => $currencies->format($value, true, $order->info['currency'], $order->info['currency_value']),
							  'value' => $value);

 

is the code that outputs the tax part

 

which is defined in

 

languages/english/modulecart/includes/languages/english/modules/order_total/ot_tax.php

 

define('MODULE_ORDER_TOTAL_TAX_TITLE', 'Tax');
 define('MODULE_ORDER_TOTAL_TAX_DESCRIPTION', 'Order Tax');

 

 

Can someone please let me know what's wrong with the codes that's cuasing it to not show up? Thank you

  • 5 months later...
Posted

Exact Same problem here! can someone please help us!

Posted

nvm priority had to be set aswell..

Archived

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

×
×
  • Create New...