Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Hide Language and Curreny Boxes


sipps

Recommended Posts

Can anyone tell me how to hide the Language and Currency boxes? I've tried editing the includes/languages/english.php and english/index.php files but all I could do was delete the box header.

Link to comment
Share on other sites

includes/column_right.php

 

Comment out the call for them with /* */

 

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

Link to comment
Share on other sites

includes/column_right.php

 

Comment out the call for them with /* */

 

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

 

 

Thanks! Worked perfectly

Link to comment
Share on other sites

  • 3 years later...

For me it didn't work. Tried your solution today, commented out the lines with both /* */ and then //, even deleted the lines, the currency/country keep staying there. Is there anywhere else that the code needs altering?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...