Remove IBAN & Bank Sorting Code Number
sc00zy:
Hi all,
I don't need IBAN & Bank Sorting Code Number in my user registration and checkout process. Is there an easy way to remove these two? Hope that somebody can help me out with this ...
Thanks in advance :)
Soeren:
The file you must look for the input fields is html/checkout.registration_form.php (or html/checkout.register_form.php)
the search for IBAN in there....and delete the complete table row.
ciao, soeren
sc00zy:
The only files in my html folder containing the word "IBAN" are:
[ol]account.billing.php
checkout.index.php
shop.registration.php
shopper.shopper_form.php[/ol]
So ... what to do? ;)
sc00zy:
I just removed the cells containing IBAN & Bank Sorting Code Number, they don't show anymore.
But still when I try to check out it says "You have actually not provided your bank sort code". How do I remove this validation?
Again ... thanks in advance! :laugh:
sc00zy:
Solved that problem to ...
Remove the following lines in classes/ps_checkout.php
Code:
if (($dbu->f("bank_iban"«») == ""«») and
($dbu->f("bank_account_nr"«») ==""«»)) {
$d["error"] = _PHPSHOP_CHECKOUT_ERR_NO_IBAN;
return False;
}
Code:
if ($dbu->f("bank_sort_code"«») == ""«»){
$d["error"] = _PHPSHOP_CHECKOUT_ERR_NO_BANK_SORT;
return False;
}
It seems to work fine right now! B)
Navigation
[0] Message Index
[#] Next page