Results 1 to 3 of 3

How do I display the Final Order Total?

This is a discussion on How do I display the Final Order Total? within the osCommerce 2.2 Discussion forums, part of the osCommerce 2.2 Forums category; Hi, I need to display the total price of a customer's order on the page AFTER the credit card has ...

      
  1. #1
    Lurker
    Join Date
    Nov 2004
    Posts
    2
    Rep Power
    0


    Default How do I display the Final Order Total?

    Hi,

    I need to display the total price of a customer's order on the page AFTER the credit card has been paid. So once the credit card has been charged the customer should see the normal "Thank you for your purchase" but then you'd see below on that page "Your card has been sucessfully charged $XYZ..." etc.

    But how would I go about doing this?

    I've searched high & low, drank many cold beers & taken plenty of Advil to dull the pain, but I just can't find anything that tells me how to display the array that I'm interested in.

    Thanks for your help.

    Mike

  2. #2
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    21


    Default RE: How do I display the Final Order Total?

    are you talking about the shopping cart return page? If so, then I would love to suggest that you consider the order receipt module.
    http://www.oscommerce.com/community/...,order+receipt
    once installed it gives the customer the ability to print out a copy of their "confirmed order". The module plugs in rather easily to oscMAX.

    if you want to also display the order total, that's just a matter of making a call to the database. But I find that giving them the ability to print the order for their records (and we already sent a copy via e-mail) works just fine.
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

  3. #3
    Lurker
    Join Date
    Nov 2004
    Posts
    2
    Rep Power
    0


    Default RE: How do I display the Final Order Total?

    Hi met00

    Thanks for the suggestion.

    I have all I need in place right now &amp; the design matches the site theme, so I'm not sure I want to alter it too much. All I need is some php code to put the final order total on the return page I've alread got.

    I know I can use some sort of DB call, or simply echo the array, but so far what I've tried doesn't work. I get crazy numbers or nothing shows at all. What I'd like to know is if ayone knows the right array &amp; just how I'd display it. Mabe I'm no doing it right, or perhaps it's the wrong array. maybe it's an array that is cleared once the CC is charged?

    Any help greatly appreciated.

    Thanks.

    Mike

Similar Threads

  1. display shipping total in Admin/orders
    By JohnW in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 06-26-2006, 03:04 PM
  2. how to get the order total on checkout_success.php ?
    By johnr3 in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 06-17-2006, 09:23 AM
  3. no order total show
    By kellycog in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 12-03-2004, 04:55 AM
  4. Order Total Problem
    By erikpiazza in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 07-28-2004, 04:22 PM
  5. Displaying ONLY item total but not currency in cart display
    By humbags in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 07-12-2003, 03:41 AM

Bookmarks

Posting Permissions

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