change the ammount of credit

13 years 10 months ago #3447 by electra
Hi,
simple question using vodes: it's possible to change the number of credits associated with ammount? I need credits multiple of 25 or using 1 credit for 25 euro.
Where I have to add this data?
Thanks.

Please Log in or Create an account to join the conversation.

13 years 10 months ago #3491 by rakib
Did you mean 25 EURO = 1 credit(vode) ? If so then you may change vodes.html.php files by following
<select name="amount">
<option value="25.00">25 &#8364; (1 <?php echo _VODE_VODES; ?>)</option>
<option value="50.00">50 &#8364; (2 <?php echo _VODE_VODES; ?>)</option>
<option value="75.00">75 &#8364; (3 <?php echo _VODE_VODES; ?>)</option>
<option value="100.00">100 &#8364; (4 <?php echo _VODE_VODES; ?>)</option>
</select>
and also have to change
$credit = ceil($payment_amount/25);
in vodes.php.
Hope this may help

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

We also recommend

Twitter

sakicnet: RT @LTmujo: @Ridjobrki ma jel to prinova na putu ili su ti oni dani u mjesecu? nek je sa srecom, da jos 10 puta toliko docekate u zdravlju… 88 days ago from Twitter for iPhone

Stay in touch