By Marius Lead on Thursday, 17 May 2018
Posted in Payment Gateways
Replies 5
Likes 0
Views 726
Votes 0
For offline payment I would like to edit payment methods, to have just one, like cache instead of cache, cheque, demand draft.
How can we change this?
Hey Marvin,

You can edit the file /plugins/payplans/offlinepay/offlinepay/app/offlinepay/transaction.xml and remove the following options,

[gist]
<option value="Cheque" params="id,amount,currency">COM_PAYPLANS_Cheque</option>
<option value="DD" params="id,amount,currency">COM_PAYPLANS_Demand_Draft</option>
[/gist]
·
Thursday, 17 May 2018 00:25
·
0 Likes
·
0 Votes
·
0 Comments
·
no, it then displayes checkque in the second line as default.
Can we somehow had just one input field instead of select options. It can be readonly or smthg?
·
Friday, 18 May 2018 22:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Marvin,

I am not too sure if I understand your requirements here. Do you mean that you only want to show "Cash", in the offline payment method, http://take.ms/zbHHZ ?

I have tested the modifications on my end and I only see the cash method as you can see here, http://take.ms/Us9rX
·
Saturday, 19 May 2018 00:54
·
0 Likes
·
0 Votes
·
0 Comments
·
yes, but you see, though only cache is an option, input box for DD/Cheque number is displayed below.
That wont make sense.
·
Monday, 21 May 2018 22:38
·
0 Likes
·
0 Votes
·
0 Comments
·
A quick work around that you could apply is to add the css codes below:

[gist]
body .control-group.gateway_paramsid {
display: none;
}
[/gist]
·
Monday, 21 May 2018 22:44
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post