Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How Do I Remove The Currency Box On Homepage?


Guest

Recommended Posts

Posted

I am trying to remove the currency and language boxes on the homepage. I opened the master template inside Frontpage, and deleted these boxes, however I received all sorts of errors (any my homepage was all messed up) when i re-loaded my .php files to my server. Is there a specific file I need to "comment out" or delete? I am new to this whole osCommerce thing, so please be patient.

 

Thanks

Posted

In catalog/inlcudes/column_right.php you will see

 

require(DIR_WS_BOXES . 'reviews.php');

 

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

 

To remove the box(es) from the page you just comment out the parts you want

 

  require(DIR_WS_BOXES . 'reviews.php');

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

 

Notice the // to comment out the line. This will prevent the box from being displayed in your column. If you wanted them removed from your main page only then that is something totally different.

 

HTH

Archived

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

×
×
  • Create New...