Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Deleting Boxes


sigmarosie

Recommended Posts

How do I go about deleting boxes such as the choice of currencies, languages, and information. I thought that there was trick like adding a / somewhere to make the boxes disappear. I have had to install a new version of oscommerce so I am trying to get the store back up to where it was before. Or am I better to just delete the files if I won't be using them?

Thanks!

Link to comment
Share on other sites

How do I go about deleting boxes such as the choice of currencies, languages, and information. I thought that there was trick like adding a / somewhere to make the boxes disappear. I have had to install a new version of oscommerce so I am trying to get the store back up to where it was before. Or am I better to just delete the files if I won't be using them?

Thanks!

 

Removing the boxes is fairly simple and the best approach is to comment them out in the column_left.php or column_right.php, where ever the box in question happens to reside. That way if you ever want to add them back, simply uncomment the code and you are all set.

 

Be well,

Tina

If you're not having fun you're not doing it right

 

Teach a person to fish rather than give them a loaf of bread or however that saying goes.

Link to comment
Share on other sites

Don't delete anything unless it's absolutely necessary. You may change your mind months from now and the code is gone.

 

For example, with regard to the currencies & languages box....go into catalog/includes/column_right.php

 

You'll see this:

 

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

 

Put two forward slashes in front of those include commands to kill the boxes from appearing, so it now looks like this:

 

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

 

All done. Your boxes are gone. Do the same in column_left.php for anything sitting there you don't want.

 

Andrea

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...