Jump to content
Sign in to follow this  
ComicWisdom

Blank pring pages

Recommended Posts

I certainly must have done something wrong because on both of the options I get blank pages.

 

print_order.php.html.jpg

 

print_order2.php.html.jpg

 

I went back through the instructions and found this. Is this where I made my mistake.

 

################################################################################

#########

in checkout_process.php

 

right after....

 

$order_products_id = tep_db_insert_id();

 

ADD...

 

//begin add receipt//

tep_session_register('last_order');

$last_order = $insert_id;

$oID = $last_order;

//end add receipt//

 

________________________________________

should look like this....

 

tep_db_query("update " . TABLE_PRODUCTS . " set products_ordered = products_ordered + " . sprintf('%d', $order->products[$i]['qty']) . " where products_id = '" . tep_get_prid($order->products[$i]['id']) . "'");

//begin add receipt//

tep_session_register('last_order');

$last_order = $insert_id;

$oID = $last_order;

//end add receipt//

________________________________________

################################################################################

##########

 

The should look like doesn't seem to give the results the instructions indicate.

 

Am I misinterpreting it?


Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Share this post


Link to post
Share on other sites

Oop! I think I posted this in the wrong spot.

 

I am going to try to repost in the correct location.


Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×