File tree 5 files changed +1
-99
lines changed
design/frontend/base/default/template/pay/payment/form
5 files changed +1
-99
lines changed Original file line number Diff line number Diff line change @@ -10,31 +10,5 @@ class Pay_Payment_Block_Form_Ideal extends Pay_Payment_Block_Form_Abstract {
10
10
protected $ paymentMethodId = 10 ;
11
11
protected $ paymentMethodName = 'iDEAL ' ;
12
12
protected $ methodCode = 'pay_payment_ideal ' ;
13
-
14
13
protected $ template = 'pay/payment/form/default.phtml ' ;
15
-
16
- /**
17
- * Constructor. Set template.
18
- */
19
- protected function _construct () {
20
- $ bankSelectType = Mage::getStoreConfig ('payment/pay_payment_ideal/bank_select_type ' , Mage::app ()->getStore ());
21
-
22
- if ($ bankSelectType == 'radio ' ) {
23
- $ this ->template = 'pay/payment/form/ideal.phtml ' ;
24
- } elseif ($ bankSelectType == 'select ' ) {
25
- $ this ->template = 'pay/payment/form/idealSelect.phtml ' ;
26
- } else {
27
- $ this ->template = 'pay/payment/form/default.phtml ' ;
28
- }
29
-
30
- return parent ::_construct ();
31
- }
32
-
33
- protected function getBanks () {
34
- $ helper = Mage::helper ('pay_payment ' );
35
- $ option = $ helper ->getOption (Pay_Payment_Model_PaymentMethod_Ideal::OPTION_ID );
36
- $ banks = $ option ->getSubs ();
37
- return $ banks ;
38
- }
39
-
40
14
}
Original file line number Diff line number Diff line change 2
2
<config >
3
3
<modules >
4
4
<Pay_Payment >
5
- <version >3.18.0 </version >
5
+ <version >3.18.1 </version >
6
6
</Pay_Payment >
7
7
</modules >
8
8
<global >
Original file line number Diff line number Diff line change 9262
9262
<show_in_store>1</show_in_store>
9263
9263
<config_path>payment/pay_payment_ideal/title</config_path>
9264
9264
</title>
9265
- <bank_select_type translate="label">
9266
- <depends>
9267
- <active>1</active>
9268
- </depends>
9269
- <label>Bank selectie type</label>
9270
- <comment>Kies of je de bankselectie met een selectbox of met radiobuttons wilt weergeven in checkout
9271
- </comment>
9272
- <frontend_type>select</frontend_type>
9273
- <source_model>pay_payment/source_paymentmethod_ideal_selecttype</source_model>
9274
- <sort_order>3</sort_order>
9275
- <show_in_default>1</show_in_default>
9276
- <show_in_website>1</show_in_website>
9277
- <show_in_store>1</show_in_store>
9278
- <config_path>payment/pay_payment_ideal/bank_select_type</config_path>
9279
- </bank_select_type>
9280
- <text_bankselect translate="label">
9281
- <depends>
9282
- <active>1</active>
9283
- </depends>
9284
- <label>Text bij bankselectie</label>
9285
- <frontend_type>text</frontend_type>
9286
- <sort_order>4</sort_order>
9287
- <show_in_default>1</show_in_default>
9288
- <show_in_website>1</show_in_website>
9289
- <show_in_store>1</show_in_store>
9290
- <config_path>payment/pay_payment_ideal/text_bankselect</config_path>
9291
- </text_bankselect>
9292
9265
<sort_order translate="label">
9293
9266
<depends>
9294
9267
<active>1</active>
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments