Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Receipt For Printing


Guest

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...