Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change the default text front page of my shop


lady-misty

Recommended Posts

Posted

Hello everyone :rolleyes:

I hope someone can help and guide me through this, I have no idea how to change or modify the text shown here, even though I have read loads of documentation on the subject.

I am a total beginner at all this and would appreciate some help on how to set up my shop front.

Can someone give me step by step instructions, can it be done through the Admin Panel?

Thanks in anticipation

Regards lady-misty

 

TEXT SHOWN ON FRON PAGE IS

 

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

 

The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist:

 

define('TEXT_MAIN', '');

 

More information concerning the PHP define() function can be read here.

Posted
Hello everyone :rolleyes:

I hope someone can help and guide me through this, I have no idea how to change or modify the text shown here, even though I have read loads of documentation on the subject.

I am a total beginner at all this and would appreciate some help on how to set up my shop front.

Can someone give me step by step instructions, can it be done through the Admin Panel?

Thanks in anticipation

Regards lady-misty

 

TEXT SHOWN ON FRON PAGE IS

 

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

 

The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist:

 

define('TEXT_MAIN', '');

 

More information concerning the PHP define() function can be read here.

 

 

Go to includes/languages/english/index.php

 

From there, you can change the text, add pictures, etc. Do you see the thing that says define('TEXT_MAIN', '--->YOU START ADDING YOUR TEXT, links or images RIGHT HERE'

 

If you have an html editor, do it there first, then view the code, cut and paste onto '---' . But before you mess with this page, make sure to make a backup copy.

 

I hope this helps.

Archived

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

×
×
  • Create New...