ComicWisdom Posted August 16, 2007 Share Posted August 16, 2007 I certainly must have done something wrong because on both of the options I get blank pages. 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? Quote 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 More sharing options...
ComicWisdom Posted August 16, 2007 Author Share Posted August 16, 2007 Oop! I think I posted this in the wrong spot. I am going to try to repost in the correct location. Quote 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 More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.