In the product category page I have a block 'select your currency',but it does not show any option in the list.
My currency.phtml file is

<?php if($this->getCurrencyCount()>=0): ?>
<div class="block-currency">
<div class="block_title">
<strong><span><?php echo $this->__('Select Your Currency') ?></span></strong>
</div>
<div class="block-content">
<select name="currency" title="<?php echo $this->__('Select Your Currency') ?>" onchange="setLocation(this.value)" >
<?php foreach ($this->getCurrencies() as $_code => $_name): ?>

<option value="<?php echo $this->getSwitchCurrencyUrl($_code) ?>"<?php if($_code==$this->getCurrentCurrencyCode()): ?> selected="selected"<?php endif; ?>>
<?php echo $_name ?> - <?php echo $_code ?>
</option>
<?php endforeach; ?>
</select>
<?php echo $_code;?>
</div>
</div>
<?php endif; ?>

Is there any problem in this file ?
In the system->configuration->currency setup
Base currency: US dollar
Default display currency:Indian rupee
Allowed currencies:Euro,Indian rupee,Us Dollar.

Waiting for an answer.
Please help me. Thanks in advance.

View more threads in the same category: