Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Get rid of the Languages and Currencies Boxes


paulcchp84dr

Recommended Posts

Posted

Hi

 

I want to hide or get rid of the Languages and currencies boxex. I only use English and only accept pounds so I dont need the switching.

 

Any idea where this is done?

 

Thanks

Posted
Hi

 

I want to hide or get rid of the Languages and currencies boxex. I only use English and only accept pounds so I dont need the switching.

 

Any idea where this is done?

 

Thanks

 

Look in column_left.php

 

identify the required lines and put // in front.

Posted
Look in column_left.php

 

identify the required lines and put // in front.

 

I looked in column_left.php, and I cannot find reference to languages. In column_right, there are many. Which file is it, and which lines pertain to the languages feature per se?

Posted
I looked in column_left.php, and I cannot find reference to languages. In column_right, there are many. Which file is it, and which lines pertain to the languages feature per se?

 

I was not the colum_left file but the colum_right file.

 

To take the boxes out you edit the following around about line 43

 

From this

 

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

include(DIR_WS_BOXES . 'languages.php');

include(DIR_WS_BOXES . 'currencies.php');

 

to this

 

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

//include(DIR_WS_BOXES . 'languages.php');

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

 

 

Another handy feature is if you want to move boxes from the left colum to the right you can copy the code for the box from the one file (e.g colum_right) to colum_left file and it swaps it.

 

 

This is most likely to be like teaching grandma to suck eggs for must of you but at the moment it all new to me.

 

Thanks for the help.

Archived

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

×
×
  • Create New...