Zen Cart Logo
Forums / Managing Customers and Orders / What is the variable's name for Total?

What is the variable's name for Total?

Locked

Views: 1,905

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
26 Jul 2006, 4:59 PM
#1
kinethic avatar

kinethic

New Zenner

Join Date:
Jul 2006
Location:
Brownsville, Texas, USA.
Posts:
22
Plugin Contributions:
0

What is the variable's name for Total?

I apologize if this question seems very simple or silly but I'm very frustrated with my results.

Please..... Is there anybody wants to tell me what is the variable's name of the Total in ZenCart Admin/Orders/Edit and how it must be written in the code so that the Total can be seen in another place of the Orders window?

For example, under "Invoice ID".

Please look at this:

Invoice No. 55
....... <------- Here is where I would like to set the Total of the order.
Date Purchased: Wednesday 26 July, 2006
Payment Method: Credit Card

Credit Card Type: Visa
Credit Card Owner: Kirk Neaven
Credit Card Number: 4111111111111111 Mask this number
Credit Card CVV Number: 742 Delete CVV from database
Credit Card Expires: 0107

I really will appreciate all the attention that you can give to my request.

Best regards.

Kirk.

Best regards.
Kirk Neaven.


Zen Cart Contributions: Kinethic Realm Buttons Set (an enhanced buttons set)

26 Jul 2006, 6:26 PM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: What is the variable's name for Total?

take the code for
Invoice No. 55 this and use ['total'] in place of ['id']

Zen cart PCI compliant Hosting

27 Jul 2006, 12:56 AM
#3
kinethic avatar

kinethic

New Zenner

Join Date:
Jul 2006
Location:
Brownsville, Texas, USA.
Posts:
22
Plugin Contributions:
0

Re: What is the variable's name for Total?

Merlinpa1969:

take the code for
Invoice No. 55 this and use ['total'] in place of ['id']

I just want to say "bravo, Maestro!" and thank you.
This is the variable that I was looking for: $order->info['total']

With your help I got the job done in 3 minutes:

a) I created a new definition MY_OTHER_TOTAL in admin/includes/languages/english/orders.php to use it with the variable $order->info['total'] instead of the original $order->info['oID']

b) I wrote the new line of code in admin/orders.php under the line where the constant ENTRY_ORDER_ID is placed.

I owe you one.
Thank you very much.

Kirk.

Best regards.
Kirk Neaven.


Zen Cart Contributions: Kinethic Realm Buttons Set (an enhanced buttons set)