help please
how the item card show prices in two currencies.
In virtuemart one helped this decision
/ components / com_virtuemart / themes / default / templates / common / price.tpl.fp
replace
code:
<?php echo $CURRENCY_DISPLAY->getFullValue($base_price)?>
on
<?php
require_once ( CLASSPATH. 'currency/convertECB.php');
$convECB = new convertECB;
$kurs = $convECB->convert(1,'USD','EUR');
echo $CURRENCY_DISPLAY->getFullValue($base_price).'$, '. round($base_price*$kurs,0).' €.';
?>
- show curency USD and EUR
What and where changes need to be done in vitrtuemart 2