hi,
there is a part for payment called “HAVALE”. i have a special mod for HAVALE,
its listing banks and bank account numbers with select box.
i add code to [color=#ff0000]/customer/views/orders/components/payments/money.tpl [/color]like:
```php
Garanti B. IBAN : TR26 0006 2000 000 0000 0000 00
İş Bankası IBAN : TR59 0006 4000 000 0000 0000 00
Yapı Kredi IBAN : TR54 0006 7010 000 0000 0000 00
```
also in [color=#ff0000]controllers/customer/checkout.php[/color]
i change this :
```php
// Clean up saved shipping rates
unset($_SESSION['shipping_rates']);
if (!empty($_REQUEST['customer_notes'])) {
$cart['notes'] = $_REQUEST['customer_notes'];
}
if (!empty($_REQUEST['payment_info'])) {
$cart['payment_info'] = $_REQUEST['payment_info'];
}
```
with this :
```php // Clean up saved shipping rates
unset($_SESSION['shipping_rates']);
if (!empty($_REQUEST['customer_notes'])) {
$cart['notes'] = $_REQUEST['customer_notes'];
}
[color=#ff0000] if (!empty($_REQUEST['havale_banka'])) {
$cart['havale_banka'] = $_REQUEST['havale_banka'];
}[/color]
if (!empty($_REQUEST['payment_info'])) {
$cart['payment_info'] = $_REQUEST['payment_info'];
} ```
and i add code to [color=#ff0000]skins/basic/admin/views/orders/details.tpl[/color] file like this :
```php {if $order_info.havale_banka > '0'}
{if $order_info.havale_banka == '1'}Akbank IBAN : TR32 0004 6008 000 0000 0000 00{/if}
{if $order_info.havale_banka == '2'}Garanti B. IBAN : TR26 0006 2000 000 0000 0000 00{/if}
{if $order_info.havale_banka == '3'}İŞ Bankası IBAN : TR59 0006 4000 000 0000 0000 00{/if}
{if $order_info.havale_banka == '4'}Yapı Kredi IBAN : TR54 0006 7010 000 0000 0000 00{/if}
{/if} ```
i crate new column named "[color=#ff0000]havale_banka[/color]" to "[color=#ff0000]cscart_order[/color]" table. (column is integer)
but it's not writing anything to database. so i cant see in the "HAVALE's bank datails in the admin side.
can anyone help me about this issue?