Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Checkout Confirm Text


Waza04

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

Link to comment
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');

 

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

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

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

Link to comment
Share on other sites

  • 4 weeks later...

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

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

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...