Page 1 of 1

Hide currency box when only one currency

Posted: Fri Feb 13, 2009 9:59 am
by mikeweb
It would be nice to hide the currency box on the front-end is there is only one currency.

Re: Hide currency box when only one currency

Posted: Tue Mar 03, 2009 1:00 am
by jaraen
I Agree!

Re: Hide currency box when only one currency

Posted: Tue Mar 03, 2009 2:10 am
by Qphoria
It used to be a module that could be enabled/disabled from admin. Still not sure why so many bits like this were defeatured.

Re: Hide currency box when only one currency

Posted: Wed Mar 04, 2009 8:56 am
by easylancer
Well you can do this in the code if you wish, just open view/template/module/currency.tpl and at the top of the file enter

Code: Select all

<?php if(count($currencies) > 1) { ?>
then at the bottom of the file enter

Code: Select all

<php } ?>
to close the if statement. This will say if we have more than 1 currency show the currency box otherwise don't show it.