Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding link & text on index


Nor-Cal

Recommended Posts

I want to add some text and a link on the store index page.

 

Is there where I would add it?

 

catelog/includes/languages/english.php

 

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?');
define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>');
define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><img src="images/login.gif" border="o"></a> Or <a href="%s"><img src="images/create_account.gif" border="0"></a>');

 

I'd like to add it under the greeting

 

would it be done like this? or if not, how?

 


define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><img src="images/login.gif" border="o"></a> Or <a href="%s"><img src="images/create_account.gif" border="0"></a>');
define('NAME', 'mytext <a href="link"><img src="button link"></a>');

Link to comment
Share on other sites

You would have to call for the name (echo it out) in the index.php file if you do it that way but yes, that is one way to do it.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...