"Select Your Currency" Block bug

Hello,

I have found not finished part of template.
Select currency box.

Look at the screenshot.

http://www.superscreenshot.com/scree…ocom_s_980.jpg

9 answers

Profile photo of Hung Dinh 0.00 $tone February 17, 2009
Public

Hi noxxitbaby,
It seem that the currency block is not enalbe with default installation of Magento. I wil get the dev team updated to the package and keep you informed at this thread.

#3
Profile photo of JA Developer 0.00 $tone February 18, 2009
Public

Hi,

To solve this issue, please open app\design\frontend\default\defaulttemplate\direc tory\currency.phtml file, at about line 35, find following code:

PHP Code:

<div class="box currency-switcher">
    <div class="head">
        <h4><?php echo $this->__('Select Your Currency'?></h4>
    </div>
        <select name="currency" onchange="changeCurrency(this)">
        <?php foreach ($this->getCurrencies() as $_code => $_name): ?>
            <option value="<?php echo $_code ?>"<?php if($_code==$this->getCurrentCurrencyCode()): ?> selected="selected"<?php endif; ?>>
                <?php echo $_name ?> - <?php echo $_code ?>
            </option>
        <?php endforeach; ?>
        </select>
</div>


and change to:

PHP Code:

<div class="box base-mini mini-currency-switcher">
    <div class="head">
        <h4><?php echo $this->__('Select Your Currency'?></h4>
    </div>
    <div class="content">
        <select name="currency" onchange="changeCurrency(this)">
        <?php foreach ($this->getCurrencies() as $_code => $_name): ?>
            <option value="<?php echo $_code ?>"<?php if($_code==$this->getCurrentCurrencyCode()): ?> selected="selected"<?php endif; ?>>
                <?php echo $_name ?> - <?php echo $_code ?>
            </option>
        <?php endforeach; ?>
        </select>
     </div>
</div>


Hope it helps.

#7

This question is now closed

Written By

Comments