Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Can't find where Order Total value coming from


Recommended Posts


I have ot_total installed and set to true, to my knowledge, the value is passed from $this->info['total'] in order.php class.

I added some value like $this->info['total'] + 10.

But the number is always the same, even I removed completely this code from oder.php

if (DISPLAY_PRICE_WITH_TAX == 'true') {
        $this->info['total'] = $currencies->numerical_currency($this->info['subtotal'], $currency, $this->info['currency_value']) + $this->info['shipping_cost'];
      } else {
        $this->info['total'] = $currencies->numerical_currency($this->info['subtotal'], $currency, $this->info['currency_value']) + $currencies->numerical_currency($this->info['tax'], $currency, $this->info['currency_value']) + $this->info['shipping_cost'];

Where could it still coming from ???

Link to comment
Share on other sites


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

  • Create New...