I'm using the master password contrib, as part of my effort to use the front end of the site for our 3dparty sales and offline sales. I want the master password admin to be able to change the order total in the checkout process by making the order's total to be able to be edited via a form input. I have this working for the shipping total, by manipulating the Session variable for shipping cost. Now I'm stuck trying to fitgure out where the total is being calculated, so I can simply subtract an amount by a percentage. so I can do something like Session[Ordertotal]-Session[mypercentage].
I'm looking through the files, but the orders total looks to be so abstracted in code I 'm just chasing my tail on this one.
I'm looking in all the right files I think, but kind find where I can code in a simple substraction off the total, We're only using the flat_flat shipping right now.
I see this in tpl_orders_module_orders.php
I don't understand what the heck this array is suppose to be?
I see some intresting stuff inPHP Code:echo $GLOBALS[$class]->output[$i]['text']
classes/orders_total.php but everthing is too abstracted to make sense of it.
Where on earth is the Session etc. variable that is holding the order's total that I can manipulate???![]()
Thanks in advance...



