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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| Hi met00 Thanks for the suggestion. I have all I need in place right now & 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 & 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 |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| display shipping total in Admin/orders | JohnW | osCMax v2 Customization/Mods | 1 | 06-26-2006 02:04 PM |
| how to get the order total on checkout_success.php ? | johnr3 | osCMax v2 Customization/Mods | 0 | 06-17-2006 08:23 AM |
| no order total show | kellycog | osCommerce 2.2 Modification Help | 1 | 12-03-2004 04:55 AM |
| Order Total Problem | erikpiazza | osCMax v1.7 General Mods Discussion | 0 | 07-28-2004 03:22 PM |
| Displaying ONLY item total but not currency in cart display | humbags | osCommerce 2.2 Modification Help | 0 | 07-12-2003 02:41 AM |