Guest Posted April 1, 2003 Share Posted April 1, 2003 I came up with a little device to print a receipt on the checkout_success.php page. Before I post it as a contribution or anything (can two lines of code make a contribution? :roll: ) I want to throw out the idea and see what people think. In checkout_process.php I register the email output as a session variable. Then on checkout_success.php I print it out (with nl2br). That's it! I may come up with a more indepth system to allow for formatting and other such things, based on order history, but for now, this is good enough. Hope this helps somebody. -Marc Link to comment Share on other sites More sharing options...
Cerberus Posted April 2, 2003 Share Posted April 2, 2003 No offence, but why bother? The customer is going to get the email and can print it out if and when they please. Did I miss the point? Link to comment Share on other sites More sharing options...
Druide Posted April 2, 2003 Share Posted April 2, 2003 No offence, but why bother? The customer is going to get the email and can print it out if and when they please. Did I miss the point? you are right, i don't get it either :?: Robert We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;) Link to comment Share on other sites More sharing options...
Guest Posted April 2, 2003 Share Posted April 2, 2003 Customer assurance, plain and simple. Most sites return a page to print (and some then offer a link to a better print format). Besides, just what if the email does not go through for them? Link to comment Share on other sites More sharing options...
Guest Posted April 2, 2003 Share Posted April 2, 2003 there is contribution for this http://www.oscommerce.com/community/contri...ons,1037/page,4 if yours is better, bring it on!! :) :D Link to comment Share on other sites More sharing options...
Guest Posted April 2, 2003 Share Posted April 2, 2003 beautiful Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.