Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Let's See What We Have Here


zanniesattic

Recommended Posts

Hello! I am wondering if there is any way to change the "Let's See What We Have Here" on the top of each Catagory to the Name of the Catagory. I'm new to OS, but didn't see a file anywhere, and have looked in the help forums but don't see this.

Anyone have any ideas?

Thanks,

Suzanne

Link to comment
Share on other sites

If you are wanting to change the message to something else look inside the file includes/languages/english/index.php

 

Inside that file you will see a line that says define('HEADING_TITLE', 'Let\'s See What We Have Here');

 

Just change the text between the ' ' symbols and save and upload the revised file, and the title will be changed. Or you can just leave is blank between the ' ' symbols and nothing will appear. Make sure that the 2 ' ' symbols stay there, php is very tempramental and the page will be blank if you miss a single keystroke. <_< but even if you choose to leave the HEADING_TITLE blank you will still get a little picture that pops up.

 

If you want to completely remove the wording and the picture then you will hafta edit the pages in which the title appears.

 

To do this open the .php page that the title appears on, for instance index.php

 

on line 232 you will see a line that says <td class = "pageHeading"><?php echo HEADING_TITLE; ?></td>

 

That is the line of code that calls for the heading title in the english index file and if you remove the <?php echo HEADING_TITLE; ?> part a title will not appear on that page, further down the code on line 272 it says <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

Removing <?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?> will keep the image from appearing.

 

Cheers, hope this helps you ;)

Link to comment
Share on other sites

Also, sorry but osComm is not set up to change the title for each product. Of course that happens on the product info page. Of course you could change the <?php echo HEADING_TITLE; ?> to say <?php echo $product_name; ?> that might work ??

 

Might want to back up the page that you try it on though just in case it doesn't work. :-"

 

But if it doesn't work this probably best to just delete the title from the page completely, otherwise you better be a php programmer :)

Link to comment
Share on other sites

Thanks for the reply Wolfsfable.

" you could change the <?php echo HEADING_TITLE; ?> to say <?php echo $product_name; ?> that might work ??"

It didn't work. But now I found where to change the text. I had left it blank, but it looked empty to me. I'll have to think of better text to put in its place.

Thanks again.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...