Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing "Welcome guest...."


happyyo

Recommended Posts

Posted

Hi people there!!!

 

I would like to remove from the front page the "Whats new here?" and "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?"

Which file do I have to remove or change??? and after doing it, will I get any problem when I click on the links "My account", "cart content" and "checkout" at the tight top??

 

Thanks a lot in advance :) :)

Posted

It is in /catalog/index.php

 

You want to comment out the rows that contain HEADING_TITLE and tep_customer_greeting().

 

Use <!-- Begin HTML Comment

This code is commented out.

End HTML Comment -->

 

HEADING_TITLE Find this.

<tr>
        <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> 
           <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
         </tr>

 

and replace it with this.

<!-- Start Remove Heading
<tr>
        <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> 
           <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
         </tr>
End Remove Heading  -->

 

 

tep_customer_greeting() Find this

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

 

and replace with this

<!-- Begin Remove Greeting
<tr>
           <td class="main"><?php echo tep_customer_greeting(); ?></td>
         </tr>
End Remove Greeting -->

while (!succeed) {try()};

 

GMT -6:00

  • 4 weeks later...
Posted

Thanks a lot for this post, it was very helpful!! I had been searching for the answer for quitea while....

Kevin J. Cantin

Archived

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

×
×
  • Create New...