Hello.
i am trying to duplicate the bank transfer module
i followed the instructions like in http://forum.opencart.com/viewtopic.php?t=6696
i changed all the bank_transfer to new_payment
i uploaded on server
set correct permissions
but the module is not showing on payments
and i noticed that in some fields
there is new_payment_bank
where before was bank_transfer_bank
also there is form-bank-transfer and input-bank on different lines of code
any help is really appreciated
thanks
you could just copy an existing MODULE, and create a renamed copy of each one, found,
in the ADMIN Sub-Sections, as well as in the CATALOG Sub-Sections, then, ACTIVATE the
New Module, in the ADMIN/USER GROUP/TOP-ADMIN Section.
BUT you should, before trying activating it, RENAME every instance, within the
NEW BANK Module Files, where you find such entries:
bank_transfer
bank_transfer.tpl
bank_transfer_order_status_id
E.T.C., related to the bank_transfer Process, and/or Links
to, i.E.:
otherbank_transfer
otherbank_transfer.tpl
otherbank_transfer_order_status_id
E.T.C:,
to link them correctly, internally.
It's also required, probably, that you have to add another (BANK) table, or Section(s),
into existing Lines, to your DB, to make it work. I did just a short check on such, and
found 2 DB-Lines, in the install SQL File, with such bank_transfer related content....
There may be more, in an installed and configured DB.
Just check in your DB, what's related already with the 'default' BANK Setup, then
you could just copy/rework/paste this 'Stuff' as well.
Untested, but believed to be, and work, this way!
Good Luck
Ernie
hitline.info/shop/
in the ADMIN Sub-Sections, as well as in the CATALOG Sub-Sections, then, ACTIVATE the
New Module, in the ADMIN/USER GROUP/TOP-ADMIN Section.
BUT you should, before trying activating it, RENAME every instance, within the
NEW BANK Module Files, where you find such entries:
bank_transfer
bank_transfer.tpl
bank_transfer_order_status_id
E.T.C., related to the bank_transfer Process, and/or Links
to, i.E.:
otherbank_transfer
otherbank_transfer.tpl
otherbank_transfer_order_status_id
E.T.C:,
to link them correctly, internally.
It's also required, probably, that you have to add another (BANK) table, or Section(s),
into existing Lines, to your DB, to make it work. I did just a short check on such, and
found 2 DB-Lines, in the install SQL File, with such bank_transfer related content....

There may be more, in an installed and configured DB.
Just check in your DB, what's related already with the 'default' BANK Setup, then
you could just copy/rework/paste this 'Stuff' as well.
Untested, but believed to be, and work, this way!

Good Luck
Ernie
hitline.info/shop/
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 71 guests