Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2006
    Location
    Brownsville, Texas, USA.
    Posts
    22
    Plugin Contributions
    1

    Default 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.

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default 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

  3. #3
    Join Date
    Jul 2006
    Location
    Brownsville, Texas, USA.
    Posts
    22
    Plugin Contributions
    1

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

    Quote Originally Posted by 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.

 

 

Similar Threads

  1. Server Side Variable Name for Order Total?
    By MikeMurphyINC in forum Code Collaboration
    Replies: 4
    Last Post: 5 Mar 2014, 09:46 PM
  2. what is the variable for the contact_us page?
    By nwms8 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Jul 2010, 07:55 AM
  3. What is the variable for specials
    By kands in forum General Questions
    Replies: 2
    Last Post: 11 May 2007, 08:38 PM
  4. What is the variable for the template directory?
    By paul3648 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 7 Apr 2007, 06:37 AM
  5. Need Order Total Variable For iDevAffiliate
    By etrader in forum General Questions
    Replies: 5
    Last Post: 19 Jun 2006, 07:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg