Payment method and currency

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Run this query (But I thought the Turkish Lira short code was TRY?)

Code:
UPDATE `site_config` SET `availableValues` =  '["USD", "GBP", "EUR", "TL"]' WHERE `config_key` =  'cost_currency_code';
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Open _upgradeBoxes.inc.php

Find:
Code:
<?php echo SITE_CONFIG_COST_CURRENCY_SYMBOL; ?><?php echo number_format(str_replace(",", "", constant('SITE_CONFIG_COST_FOR_' . $day . '_DAYS_PREMIUM')), 2); ?>
Replace with:
Code:
<?php echo number_format(str_replace(",", "", constant('SITE_CONFIG_COST_FOR_' . $day . '_DAYS_PREMIUM')), 2); ?><?php echo SITE_CONFIG_COST_CURRENCY_SYMBOL; ?>
Find:
Code:
<?php echo SITE_CONFIG_COST_CURRENCY_SYMBOL; ?><?php echo number_format(str_replace(",", "", constant('SITE_CONFIG_COST_FOR_' . $day . '_DAYS_PREMIUM')) / $day, 2); ?> per day
Replace with:
Code:
<?php echo number_format(str_replace(",", "", constant('SITE_CONFIG_COST_FOR_' . $day . '_DAYS_PREMIUM')) / $day, 2); ?><?php echo SITE_CONFIG_COST_CURRENCY_SYMBOL; ?> per day
If you want to use the
then replace both of the
Code:
<?php echo SITE_CONFIG_COST_CURRENCY_SYMBOL; ?>
With:
Code:
<img src="http://www.tcmb.gov.tr/yeni/iletisimgm/pictures/simge_k2.png" />