Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

anyone know how to change the name????


fsiano

Recommended Posts

Hello everyone,

I was wondering if anyone knew how to change the name of 2checkout to credit card. Not all of my customers know what 2checkout is. I tried a few things with no luck. Any help greatly appreciated

Thanks

Frank S

Link to comment
Share on other sites

You need to change the following in catalogincludeslangagesenglishmodulespaymentpm2checkout.php

  define('MODULE_PAYMENT_2CHECKOUT_TEXT_TITLE', '2CheckOut');

 

If you rename it to something like 'Credit Card', be sure to remove or rename the existing 'Credit Card' module beforehand to save confusion.

 

A good tip if you want to change any text in osCommerce is to do a search of the directory your website is in for any files containing a certain word or phrase.

 

Hope this helps...

Tony

"The price of success is perseverance. The price of failure comes much cheaper."

Link to comment
Share on other sites

Hey Tony,

Thanks for the Help. Although I tried this as my first attempt with no success. Maybe I changed the wrong file? Please let me know because when I did it nothing seemed to change.

Thanks again

Frank S

Link to comment
Share on other sites

I doubt that you will need to refresh your browsers cache, though try it... it may just work!

 

I tip to reloading the entire file again in IE... Hold down 'Ctrl' and press 'F5'.

 

Let me know how you go...

Tony

"The price of success is perseverance. The price of failure comes much cheaper."

Link to comment
Share on other sites

This one I know. If you go into your Admin panel on your site and go to Modules<Payments and then set a Sort Order to each payment option. When you click on a payment option (ex. Credit Card) to edit, within you will see sort order. Start the first at 1 and continue.

That should work

Good Luck

Frank S

Link to comment
Share on other sites

I need to do the same....what exactly needs to be changed in the above code?

 

thanks  

 

Dumb_question

 

 

????HUH???? You want to do what? Change the sort order or change the 2Checkout to something else? Either way the question has been answered in the this thread.

Link to comment
Share on other sites

I tried to write credit card where 2checkout is written at the end......

 

 

this is what I get

2CHECKOUT_TEXT_TITLE

MODULE_PAYMENT_2CHECKOUT_TEXT_CREDIT_CARD_OWNER_FIRST_NAME

MODULE_PAYMENT_2CHECKOUT_TEXT_CREDIT_CARD_OWNER_LAST_NAME

MODULE_PAYMENT_2CHECKOUT_TEXT_CREDIT_CARD_NUMBER

MODULE_PAYMENT_2CHECKOUT_TEXT_CREDIT_CARD_EXPIRES JanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecember 2003200420052006200720082009201020112012

MODULE_PAYMENT_2CHECKOUT_TEXT_CREDIT_CARD_CHECKNUMBER MODULE_PAYMENT_2CHECKOUT_TEXT_CREDIT_CARD_CHECKNUMBER_LOCATION

 

...I basically want to rename 2checkout with "Credit Card Information"

 

 

Thanks for your help...

I know this is dumb!

Link to comment
Share on other sites

You need to change the following in catalogincludeslangagesenglishmodulespaymentpm2checkout.php

Code:

define('MODULE_PAYMENT_2CHECKOUT_TEXT_TITLE', '2CheckOut

 

Replace the 2CheckOut (in red) with the wording you prefer. Pay particular attention to the file.

Link to comment
Share on other sites

define('MODULE_PAYMENT_2CHECKOUT_TEXT_TITLE', 'Credit Card Information');...

 

Does your file have the 3 dots at the end? If so remove them. Otherwise that line seems ok.

Link to comment
Share on other sites

Here is the code. But please remember the error shows up only when i mae a change '2checkout' in first line.

Thank you for your help

 

 

 

<?php

 

/*

 

$Id: pm2checkout.php,v 1.3 2002/11/18 14:45:23 project3000 Exp $

 

 

 

osCommerce, Open Source E-Commerce Solutions

 

http://www.oscommerce.com

 

 

 

Copyright © 2002 osCommerce

 

 

 

Released under the GNU General Public License

 

*/

 

 

 

define('MODULE_PAYMENT_2CHECKOUT_TEXT_TITLE', '2CheckOut');

 

define('MODULE_PAYMENT_2CHECKOUT_TEXT_DESCRIPTION', 'Credit Card Test Info:<br><br>CC#: 4111111111111111<br>Expiry: Any');

 

define('MODULE_PAYMENT_2CHECKOUT_TEXT_TYPE', 'Type:');

 

define('MODULE_PAYMENT_2CHECKOUT_TEXT_CREDIT_CARD_OWNER', 'Credit Card Owner:');

 

define('MODULE_PAYMENT_2CHECKOUT_TEXT_CREDIT_CARD_OWNER_FIRST_NAME', 'Credit Card Owner First Name:');

 

define('MODULE_PAYMENT_2CHECKOUT_TEXT_CREDIT_CARD_OWNER_LAST_NAME', 'Credit Card Owner Last Name:');

 

define('MODULE_PAYMENT_2CHECKOUT_TEXT_CREDIT_CARD_NUMBER', 'Credit Card Number:');

 

define('MODULE_PAYMENT_2CHECKOUT_TEXT_CREDIT_CARD_EXPIRES', 'Credit Card Expiry Date:');

 

define('MODULE_PAYMENT_2CHECKOUT_TEXT_CREDIT_CARD_CHECKNUMBER', 'Credit Card Checknumber:');

 

define('MODULE_PAYMENT_2CHECKOUT_TEXT_CREDIT_CARD_CHECKNUMBER_LOCATION', '(located at the back of the credit card)');

 

define('MODULE_PAYMENT_2CHECKOUT_TEXT_JS_CC_NUMBER', '* The credit card number must be at least ' . CC_NUMBER_MIN_LENGTH . ' characters.n');

 

define('MODULE_PAYMENT_2CHECKOUT_TEXT_ERROR_MESSAGE', 'There has been an error processing your credit card. Please try again.');

 

define('MODULE_PAYMENT_2CHECKOUT_TEXT_ERROR', 'Credit Card Error!');

 

?>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...