Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

remove currencies option from column_right.php, still there?


Guest

Recommended Posts

Posted

Hi,

 

I searched the board for information on removing languages and currencies by // or deleting from column_right.php but the currencies text and form is still present.

 

the bottom of my column_right.php is as below:

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');

} else {

include(DIR_WS_BOXES . 'specials.php');

}

 

require(DIR_WS_BOXES . 'reviews.php');

 

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

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

}

?>

 

 

Is it set somewhere else?, tried a search and a google but no luck!

 

Thanks for any help

 

Tim

Posted

this may be a dumb question, but are you sure you put the file back in the right place?

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Posted

yep, i edited via my ftp client so did'nt download it as such, also the languages dissapeared!

 

the page is cached locally & not behind a proxy either

 

Thanks

 

Tim

Posted

I can only see the languages.php commented out, where has currencies.php been commented?

Posted

i actually delted the line, which is why you cant see it as the comment out did not work.

 

I've just uploaded the original column_right.php file and commented both language and currencies as below

 

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

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

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

}

?>

 

 

The currencie text and form is still there

  • 4 years later...
Posted

I figured out the fix. It has to do with STS (Simple Template System). When you use templates, they override the basic script. So, to fix it, you go into the sts_template.html file of whatever template you're using. The path would be catalog/includes/sts_templates/whatevertemplate/sts_template.html, where "whatevertemplate" is not the actual name you should look for, but whatever name the actuale template directory has. In the html code you look for:

 

<div id="right_sidebar">

 

$catmenu$

 

$specialbox$

 

$searchbox$

 

$maninfobox$

 

$orderhistorybox$

 

$bestsellersbox$

 

$reviewsbox$

 

$tellafriendbox$

 

$languagebox$

 

$currenciesbox$

 

</div>

 

You simply delete $languagebox$ and $currenciesbox$ and you're done. No need to alter the column_right.php file at all.

Archived

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

×
×
  • Create New...