Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

making it work!!


cooljohnb

Recommended Posts

Posted

Hi I'm probably being a bit thick but as a new user would appreciate some help, I've been through all the configuration setup my catologue etc. So it is all ready to go. The question is how do I get the front page index.php to stop saying it will not take any orders? And that it is a real live site?

 

Any help would be much appreciated.

 

Can't seem to find this bit of useful information in any of the instructions!

Posted

where did you get the store software from? osCommerce does not come that way. perhaps a link to the site . ..

Posted

The text you need to edit can be found in includes/languages/english/index.php (and other languages too if you're supporting them... so like includes/languages/espanol/index.php).

 

You'll find:

 

DEFINE('TEXT_MAIN', 'x');

 

Basically put your own text where I've put the "x". Don't forget the opening and closing single quotes, and if you need a single quote anywhere in the text (for example as an apostrophe) then put a backslash before it like this: \'

 

The usual caveats:

 

1) backup the file before you make changes

2) don't use the admin file manager editor to make the changes, it WILL drop any backslashes and make your file useless. Use a text editor and FTP the file to its proper location.

Posted
where did you get the store software from?  osCommerce does not come that way.  perhaps a link to the site .  ..

 

Um, yes it does.

 

 

cooljohnb: If you read the default text on the main page, it tell you how to change it:

2. Editing Page Texts

 

The text shown here can be modified in the following file, on each language basis:

 

[path to catalog]/includes/languages/english/index.php

 

That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules.

 

The text is set in the following manner:

 

define('TEXT_MAIN', 'This is a default setup of the osCommerce project...');

 

Edit: darn, a minute too slow ^_~

Posted
Um, yes it does.

cooljohnb: If you read the default text on the main page, it tell you how to change it:

2. Editing Page Texts

 

The text shown here can be modified in the following file, on each language basis:

 

[path to catalog]/includes/languages/english/index.php

 

That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules.

 

The text is set in the following manner:

 

define('TEXT_MAIN', 'This is a default setup of the osCommerce project...');

 

Edit: darn, a minute too slow ^_~

Posted

Yes thanks I found that but when I edit it to take all the text out it then says there's an error on line 13 or sometimes line 19 and nothing comes up!!

 

Am I taking to much text out? I am going right down to the link to oscommerce should some of the text be left in? Or do I just take out the text that apears on the page? and not the othe bits?

 

Any help appreciated

Archived

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

×
×
  • Create New...