Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Would like to add a picture underneath the welcome msg


dasalnt

Recommended Posts

in default.php you will see a line in the html code where the welcome message is displayed

 

you would simply add a <tr><td><img..... etc after that

Link to comment
Share on other sites

after looking at default.php, i didnt find the html code where the welcome code is. The only html code i see is:

 

//define('TEXT_MAIN', 'This is a default setup of the osCommerce project, products shown are for demonstrational purposes,

 

<b>any products purchased will not be delivered nor will the customer be billed</b>. Any information seen on these products

 

is to be treated as fictional.<br><br>If you wish to download the solution powering this shop, or if you wish to contribute

 

to the osCommerce project, please visit the <a href="http://oscommerce.com"><u>support site of osCommerce</u></a>. This shop

 

is running on osCommerce version <font color="#f0000"><b>' . PROJECT_VERSION . '</b></font>.<br><br>The text shown here can

 

be modified in the following file, on each language basis:

 

[path to catalog]/includes/languages/[language]/default.php.<br><br>That can be edited manually, or via the

 

Administration Tool with the Languages->[language]->Define option, or by using the Tools->File Manager feature.');

 

I tried adding:

 

<tr>

<td><img src="/images/paypal_logo.gif"></td>

</tr>

 

after the code above but it gave me an error. I am looking to add a picture under this msg:

 

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

 

Thanks for any help!

Link to comment
Share on other sites

in catalog/default.php, toward the bottom of the file you should find code that looks like this:

 

<tr>

<td class="main"><?php echo tep_customer_greeting(); ?></td>

</tr>

<tr>

<td class="main"><br><?php echo TEXT_MAIN; ?></td>

</tr>

<tr>

<td><br><?php //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>

</tr>

 

 

you want to add

 

<tr>

<td><img src="images/paypal_logo.gif"></td>

</tr>

 

either after the customer greeting or TEXT_MAIN table rows

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...