Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to remove the following?


shop007

Recommended Posts

How do I remove the following from my index.php display:

 

Reviews box

Language Box (My shop will only have 1 language so no need to put it on the page)

 

Where do I go to make these darker in my header line? My Account | Cart Contents | Checkout

 

I would also like to fill in the big blank spot above the MY Account Cart and Checkout. Where do I do this in?

 

Lastly, How do I replace the ugly icons for My account, cart and checkout?

 

 

Thanks! I've been at this for the last 3 hours!

Link to comment
Share on other sites

You'll find various boxes in two different files. If they're on the left side of the site they're in includes/column_left.php, if they're on the right, you can find them in includes/column_right.php. Back up the file, open it up, and look for the code that is generating the box. It ought to look somethig like this for the reviews box:

 

require(DIR_WS_BOXES . 'reviews.php');

 

you can delete the line, or if you might want tit later just comment it out by putting two slashes in front of it, and the php will ignore it. Like this:

 

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

 

The control over the text color in the nav bar or header bar is in stylesheet.css, I can't say exactly where off the top of my head, but you should be able to work it out once you start poking around that file. You might want to look at an html color chart to get a code in mind for the color you want. The ugly icons are in the images folder, you can put an image in their place with the same name if you want to replace them. If you just want to eliminate them, then you need to track down the code calling them up on the respective pages, and delete it or comment it out.

 

HTH,

Jeremy

Link to comment
Share on other sites

  • 5 weeks later...
How do I remove the following from my index.php display:

 

Reviews box

Language Box (My shop will only have 1 language so no need to put it on the page)

 

 

Here is a little code snipet from my alteration of the languages box.

What the code does is check to see how many languages are in the database. If there is more than one language, then display the language selection box, otherwise don't display the box.

 

In the \includes\column_right.php, change the following line.....

 

include(DIR_WS_BOXES . 'languages.php');

 

to these lines....

 

$checkcount_query = tep_db_query("select count(*) as count FROM languages");

$checkcount = tep_db_fetch_array($checkcount_query);

 

if($checkcount['count'] > 1)

{

include(DIR_WS_BOXES . 'languages.php');

}

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...