Jump to content
Sign in to follow this  
Waza04

[Contribution] Checkout Confirm Text

Recommended Posts

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

Share this post


Link to post
Share on other sites

**************************************

 

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');

 

**************************************

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Sweet Thanks Warren.  When business starts to roll in just count on me for a donation.

 

Cheers Mate - Its well appreciated!!

 

Warren

Share this post


Link to post
Share on other sites

just define it yourself with whatever you want

example...

define('HEADING_ORDER_AGREE_INFORMATION', 'Order Agree Information');


Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Share this post


Link to post
Share on other sites
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

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  

×