Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Blank pring pages


ComicWisdom

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!

Link to comment
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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...