valdo2007-11-03 22:09 | Is there any plugin which enables QC to display prices in two currencies simultaneously? » Quick.Cart v2.xValdo |
merci2007-11-05 10:26 | valdo - there is no plugin, but I will try to describe how to do this...
$aList['sPrice'] = changePriceFormat( $aList['fPrice'] );
below this code add following:
$aList['fPrice2'] = changeCurrency( $aList['fPrice'] );
$aList['sPrice'] = changePriceFormat( $aList['fPrice'] );
and also below this code paste:
$aList['fPrice2'] = changeCurrency( $aList['fPrice'] );
function changeCurrency( $fPrice ){ $fPrice * 1.2 - it means that normal price will be multiply, instead of 1.2 you should write there scaler for example to EUR currency. You can write script which will take automatically this scaler value from up-to-date currency rate.
<div class="clear"> </div>
add the following code:
<em>$lang[Price]:</em><span>$aList[sPrice2]</span>$config[curren cy_symbol2]
$config['currency_symbol2'] = "EUR";
|
jakub892008-10-30 21:16 | Hello, i need manual "2 currency" for version 3.2. Thanks. |
beholder2008-10-31 13:58 | Jakub, nazdar, QC 3.x |
paulik2008-11-06 22:48 | beholder - Do you have any demo shop with your installed plugins to try how that works? |
beholder2008-11-06 23:42 | yes, tigerware.sk of course. I'd like to keep links to my site here on minimum, since I don't want to advertise here too much. QC 3.x |
kakadu2008-12-30 15:24 | Hello Merci I install your plugin (qc 2.2) and price displayed 1 202.1234 i need to be price displayed in format etc. 1 202.12 - only two last digits after dot. (sorry for my english). kakadu |
beholder2008-12-30 16:11 | for QC 2.2 edits search this forum, it should have some information on how to format the price to the desired state. |
kakadu2008-12-30 17:15 | no i mean to round the number. |
beholder2008-12-30 18:56 | in file core/other.php try following code: |
kakadu2009-01-01 15:29 | Thank you, now its all OK. kakadu |
reklam2012-07-04 11:54 | Is there any solution for 5.1? |