Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How to modify ot_total.php


Recommended Posts

Anyone now hot to modify this piece of code

    function process() {
     global $order, $currencies;
     $this->output[] = array('title' => $this->title . ':',
                             'text' => '<b>' . $currencies->format($order->info['total'], true, $order->info['currency'], $order->info['currency_value']) . '</b>',
                             'value' => $order->info['total']);


if a put this code into a hidden field value this is what a have




but I want just this




How can I do that

I know, it's not the best way to see the price, but maybe it solve a problem i have.

Link to comment
Share on other sites

Why not just use the $order->info['total'] directly?

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)



Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites


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

  • Create New...