Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

where to change these words?


rainbowlook

Recommended Posts

Posted

after test a invalid credit card number. it shows:

 

The first four digits of the number entered are: 1111<br>If that number is correct, we do not accept that type of credit card.<br>If it is wrong, please try again.

 

 

so, defenitely, there should be </br>

 

i want to just fix this small mistake. but where can i find it? in which file?

Posted

All of the text is in one of the files under incliudes/languages. For English, it's english.php for text used on more than one page, otherwise it's in one of the files under the English subfolder with the same name as the page. A good search tool is very helpful. (I like Agent Ransack, which is free, though for web development I use what's in Dreamweaver.)

Posted
All of the text is in one of the files under incliudes/languages.  For English, it's english.php for text used on more than one page, otherwise it's in one of the files under the English subfolder with the same name as the page.  A good search tool is very helpful. (I like Agent Ransack, which is free, though for web development I use what's in Dreamweaver.)

 

found it. but can not fix it -.-!!

 

dont know why the <br> not work but just displayed. :'(

Posted
Try posting your code here so someone can see what's going wrong.

 

Jack

 

yes, the codes in my english.php are:

 

define('TEXT_CCVAL_ERROR_INVALID_DATE', 'The expiry date entered for the credit card is invalid.<br>Please check the date and try again.');

define('TEXT_CCVAL_ERROR_INVALID_NUMBER', 'The credit card number entered is invalid.<br>Please check the number and try again.');

define('TEXT_CCVAL_ERROR_UNKNOWN_CARD', 'The first four digits of the number entered are: %s <br>If that number is correct, we do not accept that type of credit card. <br>If it is wrong, please try again.');

Posted

Try this:

 

 

define('TEXT_CCVAL_ERROR_INVALID_DATE', 'The expiry date entered for the credit card is invalid.<br>Please check the date and try again.</br>');

define('TEXT_CCVAL_ERROR_INVALID_NUMBER', 'The credit card number entered is invalid.<br>Please check the number and try again.</br>');

define('TEXT_CCVAL_ERROR_UNKNOWN_CARD', 'The first four digits of the number entered are: %s <br>If that number is correct, we do not accept that type of credit card.</br> <br>If it is wrong, please try again.</br>');

 

The <br> needs to be closed with a </br>

 

Hope this helps.

 

(opp's, missed one on the original entry) :blink:

Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going.

Posted

Both </br> and <br> should work fine. If the <br> tag is being displayed on the page that is usally a problem with the installation of php.

 

Vger

Posted

<br> is not a tag that needs to be closed in HTML.

 

I have seen this behavior myself - sometimes I can substitute \n in the line to get the line break, but not always. If you look at the HTML that is output, you'll find that the < and > have been replaced with the HTML escapes for those characters.

Posted
help plz!!!!!!!!

 

i can not fix it out !!  :'(  :'(  :'(

 

 

not sure but give this a try:

 

define('TEXT_CCVAL_ERROR_UNKNOWN_CARD', 'The first four digits of the number entered are: %s ' . "\n" . 'If that number is correct, we do not accept that type of credit card.' . "\n" . 'If it is wrong, please try again.');

Treasurer MFC

Archived

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

×
×
  • Create New...