Post by liam1708 » Tue Oct 26, 2010 6:44 am

Basically what the title says. What I'm wanting is 3 flags representing each currency (GBP, EUR & USD) that you click to switch currency instead of the drop-down menu.

If anyone could post the HTML it would be greatly appreciated!

Newbie

Posts

Joined
Tue Oct 26, 2010 6:30 am

Post by liam1708 » Thu Oct 28, 2010 3:27 am

Anyone?

Newbie

Posts

Joined
Tue Oct 26, 2010 6:30 am

Post by celestial » Thu Oct 28, 2010 5:26 am

First BACKUP, BACKUP

Edit catalog\view\theme\YOUR THEME\common\header.tpl

<div class="div7">
<!-- Inicio Mod -->
<div style="text-align: right; color: #000; margin-bottom: 4px;">[
<form action="<?php echo str_replace('&', '&', $action); ?>" method="post" enctype="multipart/form-data" id="language_form">
<div style="display: inline;">
<input type="image" src="image/flags/us.png" alt="English" style="position: relative; top: 4px;" />&nbsp;<b>Inglés</b>
<input type="hidden" name="language_code" value="us" />
<input type="hidden" name="redirect" value="<?php echo $redirect; ?>" />
</div>
</form>
<form action="<?php echo str_replace('&', '&', $action); ?>" method="post" enctype="multipart/form-data" id="language_form">
<div style="display: inline;">
<input type="image" src="image/flags/cr.png" alt="Spanish" style="position: relative; top: 4px;" />&nbsp;<b>Español</b>&nbsp;]&nbsp;
<input type="hidden" name="language_code" value="es" />
<input type="hidden" name="redirect" value="<?php echo $redirect; ?>" />
</div>
</form>
[
<form action="<?php echo str_replace('&', '&', $action); ?>" method="post" enctype="multipart/form-data" id="currency_form">
<div style="display: inline;">
<input type="image" src="image/flags/colon.png" alt="Colón" style="position: relative; top: 4px;" />&nbsp;<b>Colón</b>
<input type="hidden" name="currency_code" value="CRI" />
<input type="hidden" name="redirect" value="<?php echo $redirect; ?>" />
</div>
</form>
<form action="<?php echo str_replace('&', '&', $action); ?>" method="post" enctype="multipart/form-data" id="currency_form">
<div style="display: inline;">
<input type="image" src="image/flags/dolar.png" alt="Dolar" style="position: relative; top: 4px;" />&nbsp;<b>Dolar</b>
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="redirect" value="<?php echo $redirect; ?>" />
</div>
</form>
<form action="<?php echo str_replace('&', '&', $action); ?>" method="post" enctype="multipart/form-data" id="currency_form">
<div style="display: inline;">
<input type="image" src="image/flags/euro.png" alt="Euro" style="position: relative; top: 4px;" />&nbsp;<b>Euro</b>&nbsp;]
<input type="hidden" name="currency_code" value="EUR" />
<input type="hidden" name="redirect" value="<?php echo $redirect; ?>" />
</div>
</form>
</div>
<!-- Fin Mod -->
</div>


Language: Spanish and English
Currency: Colon Colon (CRI) (Costa Rica), Dolar (USD) and Euro (EUR)

images
colon.png

colon.png - colon.png (185 Bytes) Viewed 1237 times

dolar.png

dolar.png - dolar.png (219 Bytes) Viewed 1238 times

euro.png

euro.png - euro.png (192 Bytes) Viewed 1237 times


Celestial - Martín Abel Rosales
WhatsApp: 50671482211
Email: martinrosales2012@hotmail.com
Skype: martin.abel.rosales
San José , Costa Rica


User avatar
Expert Member

Posts

Joined
Sat Mar 20, 2010 4:19 am
Location - Costa Rica

Post by liam1708 » Fri Oct 29, 2010 5:16 am

Thanks fella!

Newbie

Posts

Joined
Tue Oct 26, 2010 6:30 am
Who is online

Users browsing this forum: No registered users and 43 guests