Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing text in the default page.


athwyna

Recommended Posts

Right after a successful installation, how do I change the text of the first page which says,

 

"Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

 

This is a demonstration online-shop, any products purchased will not be delivered nor billed. Any information seen on these products are to be treated fictional.

 

If you wish to download this sample shop, or to contribute to this project, please visit the support site. This shop is based on osCommerce 2.2-CVS."

 

What file do I edit to change these things?

Link to comment
Share on other sites

This text is from two files:

 

1) Navigate to the /catalog/includes/languages directory and open english.php in your favorite text editor, then find the following line and change.

 

define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');

 

2) Then navigate to /catalog/includes/languages/english and open default.php in yoru favorite text editor, then find the following line and change:

 

define('TEXT_MAIN', 'This is a demonstration online-shop, <b>any products purchased will not be delivered nor billed</b>. Any information seen on these products are to be treated fictional.<br><br>If you wish to download this sample shop, or to contribute to this project, please visit the <a href="http://oscommerce.com"><u>support site</u></a>. This shop is based on <font color="#f0000"><b>' . PROJECT_VERSION . '</b></font>.');

 

You should also download the OSCommerce Guide at the following link which guides you through installation, modifications, security, etc.

 

http://www.oscdox.com

 

Good luck!

 

-Jim

Link to comment
Share on other sites

I have know where to edit this text, but I am trying to remove it completly. I don't want it to call up that variable at all. I can't find where it is "called" from in the default.php, I feel like I've looked everywhere.

 

I would like to remove all the text so that the top of the "featured products for whatever" will align with the top of the left menu.

 

Can anyone tell me where all the information is "called" from?

 

thanks!

Link to comment
Share on other sites

Here's the exact directory and file location, assuming you're posting an english site:

 

catalog/includes/languages/english/default.php

 

Once there, you'll need to edit the first "define" statement (Text Main) and supplement your respective info within the single quotes.

 

Hope this helps.

 

PEace.

JHouse

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...