Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trouble removing Language Box.....


Guest

Recommended Posts

Posted

I'm following the instructions in the knowledge base to remove the language box...but when I edit the file, I don't have a

require(DIR_WS_BOXES . 'languages.php');

 

I just have this:

 

if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

    include(DIR_WS_BOXES . 'languages.php');

    include(DIR_WS_BOXES . 'currencies.php');

  }

 

So how do I remove the language box??

 

Thanks!

Posted

Change

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

to

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

 

Sorted! :thumbsup:

Posted

Thanks - I thought that might be what to do - but wanted to double check before I screwed it up!

Posted
Thanks - I thought that might be what to do - but wanted to double check before I screwed it up!

 

Anytime, Kellie.

Archived

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

×
×
  • Create New...