Waza04 Posted April 8, 2003 Share Posted April 8, 2003 Written for osCommerce v2.2MS1 (not tested with other versions but, should be compatible) The object of this contribution is to be able to quickly and easily add a message to the bottom of your order confirmation screen when the customer submits an order. Once installed you can change the message through the admin under "Order Agree Text". http://www.oscommerce.com/community/contributions,1142 Quote Link to comment Share on other sites More sharing options...
Guest Posted April 14, 2003 Share Posted April 14, 2003 ************************************** FIND IN ADMIN/INCLUDES/APPLICATION_TOP.PHP *OR* ADMIN/INCLUDES/FILENAMES.PHP: define('FILENAME_INFO_SHOPPING_CART', 'info_shopping_cart.php'); REPLACE WITH: define('FILENAME_ORDERS_TEXT, 'orders_text.php'); define('FILENAME_INFO_SHOPPING_CART', 'info_shopping_cart.php'); ************************************** Change to: ************************************** FIND IN ADMIN/INCLUDES/APPLICATION_TOP.PHP *OR* ADMIN/INCLUDES/FILENAMES.PHP: define('FILENAME_INFO_SHOPPING_CART', 'info_shopping_cart.php'); REPLACE WITH: define('FILENAME_ORDERS_TEXT', 'orders_text.php'); define('FILENAME_INFO_SHOPPING_CART', 'info_shopping_cart.php'); ************************************** Quote Link to comment Share on other sites More sharing options...
Guest Posted April 14, 2003 Share Posted April 14, 2003 I have a problem. I just installed the contributions and on my checkout_confirmation page it shows an error. 1146 - Table 'gbadude_shop.ORDERAGREE_TEXT' doesn't exist SELECT * FROM ORDERAGREE_TEXT where orderagree_text_id = '1' and language_id = '1' [TEP STOP] HEADING_ORDER_AGREE_INFORMATION I have already installed the SQL changes. Quote Link to comment Share on other sites More sharing options...
Waza04 Posted April 14, 2003 Author Share Posted April 14, 2003 I have a problem. I just installed the contributions and on my checkout_confirmation page it shows an error. 1146 - Table 'gbadude_shop.ORDERAGREE_TEXT' doesn't exist SELECT * FROM ORDERAGREE_TEXT where orderagree_text_id = '1' and language_id = '1' [TEP STOP] HEADING_ORDER_AGREE_INFORMATION I have already installed the SQL changes. OK - Sorry - I missed a line from instructions!! It should be: ************************************** FIND IN CATALOG/INCLUDES/APPLICATION_TOP.PHP *OR* CATALOG/INCLUDES/DATABASE_TABLES.PHP: define('TABLE_ORDERS', 'orders'); REPLACE WITH: define('TABLE_ORDERS', 'orders'); define(ORDERAGREE_TEXT, 'eorder_text'); ************************************** That should fix it. I will update the contribution. Thanks, Warren Quote Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2003 Share Posted April 15, 2003 Sweet Thanks Warren. When business starts to roll in just count on me for a donation. Quote Link to comment Share on other sites More sharing options...
Waza04 Posted April 15, 2003 Author Share Posted April 15, 2003 Sweet Thanks Warren. When business starts to roll in just count on me for a donation. Cheers Mate - Its well appreciated!! Warren Quote Link to comment Share on other sites More sharing options...
Celt Posted May 11, 2003 Share Posted May 11, 2003 The HEADING_ORDER_AGREE_INFORMATION does not exist. Were can I find it? Quote Link to comment Share on other sites More sharing options...
Druide Posted May 11, 2003 Share Posted May 11, 2003 just define it yourself with whatever you want example... define('HEADING_ORDER_AGREE_INFORMATION', 'Order Agree Information'); Quote 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 More sharing options...
Guest Posted May 11, 2003 Share Posted May 11, 2003 just curious......is there a checkbox that the customer must check in order to confirm? Quote Link to comment Share on other sites More sharing options...
Waza04 Posted May 11, 2003 Author Share Posted May 11, 2003 just curious......is there a checkbox that the customer must check in order to confirm? No - But there is a seperate contribution avaialbe that I use in conjunction with this... Warren Quote 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.
Note: Your post will require moderator approval before it will be visible.