Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A little Bit of Help Please


Guest

Recommended Posts

Hi all

 

Have done a search but can't seem to find what I am looking for so have now opted for a bit of help in the right direction..

 

How do I get rid of the HEADING_TITLE or replace it with text

 

How do I get rid of the Welcome Guest

 

fault1.JPG

 

 

How do I get rid of all those catogory images that are not used

 

fault2.JPG

 

 

Just one last thing how can I remove un used column boxes

 

 

If any one could shed some light I would be very pleased..

 

Many Thanks

 

Liam

Link to comment
Share on other sites

Just chek Your language file for the php page that is getting executed.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

Just one last thing how can I remove un used column boxes

 

Liam,

 

in order to remove unused column boxes, you need to edit the following (always backup, just in case!)

 

includes/column_right.php

 

and

 

includes/column_left.php

 

if you go to the end of the file (lines 42 or so), you'll find something like this:

 

 
 require(DIR_WS_BOXES . 'reviews.php');
 require(DIR_WS_BOXES . 'information.php');
   if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {
 include(DIR_WS_BOXES . 'languages.php');
 include(DIR_WS_BOXES . 'currencies.php');

 

just add "//" (remark) in the beginning of the line that has the box you want to get rid of.

 

i.e. you don't need the "currencies" box.... change

 

from:

include(DIR_WS_BOXES . 'currencies.php');

 

to:

 

//include(DIR_WS_BOXES . 'currencies.php');

 

That simple.

 

If you want to undo... guess....

 

:lol:

 

Enjoy!

Link to comment
Share on other sites

How do I get rid of the HEADING_TITLE or replace it with text

 

Liam,

 

if you're using english, edit the following:

 

/includes/languages/english/index.php

 

line 34

define('HEADING_TITLE', 'Let\'s See What We Have Here');

 

change the 'Let\'s See What We Have Here' to 'Whatever you want to write' (don't forget to start with " ' " and finish with " ' ")

 

If you want to "erease" it, you may change it to:

 

define('HEADING_TITLE', ' ');

 

(blank space)

 

that's all folks!

 

And .... always backup!

Link to comment
Share on other sites

Hi all

 

Just one more thing...

 

How do I extend the product page width to extend out where the column right used to be..

 

fault3.JPG

 

 

Thanks in advance

 

Liam

Link to comment
Share on other sites

If you just put a // in front of the include for column_right, like this:

 

<?php //require(DIR_WS_INCLUDES . 'column_right.php'); ?>

You still have a blank table there.

 

To remove it, find this code:

 

<!-- body_text_eof //-->
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
</table></td>

Change it to:

 

<!-- body_text_eof //-->
<?php
 if ( false ) {
?>
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
</table></td>
<?php
 }
?>

You'll need to do this in each page that uses column_right.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Hi Jim

 

Thanks for the guidance. I am gradually getting the hang of this php thing but still need guidance on some things which I can't seem to get my head around.

 

Once again may thanks

 

Liam

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...