PDA

View Full Version : Print Order receipt



michael_s
03-17-2008, 06:10 PM
I was having a problem with this module and STS. It wouldn't not display the receipt info with the STS module installed. It took me forever to figure out but here is what worked for me.



FOR SIMPLE TEMPLATE USERS ONLY (STS)

================================================== =
In catalog/print_order.php

FIND:

require('includes/application_top.php');

RIGHT BELOW IT ADD:

$sts->stop_capture();


REMOVE:

================================================== =

In catalog/print_order2.php

FIND:

require('includes/application_top.php');

RIGHT BELOW IT ADD:

$sts->stop_capture();


REMOVE:


More... (http://addons.oscommerce.com/info/2379)

basnyd
08-19-2008, 07:12 AM
Hi -

I've installed Print Order receipt on my oscmax 2.0 site. The button works great under account_history_info.php On the checkout_success.php page the "print invoice" works if a customer has an account and places an order. If a customer follows the "Proceed directly to checkout" WITHOUT creating an account the "print invoice" button launches a window with the login.php page showing.

Does anyone have any suggestions about how I might modify the code, so that if a person doesn't create an account they can still print a reciept from the checkout_success.php page?

Thank you,
Barb