Post by welov3 » Fri Jul 17, 2015 12:08 am

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

Newbie

Posts

Joined
Sat Jul 11, 2015 5:54 am

Post by IP_CAM » Sun Jul 19, 2015 12:31 am

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/

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.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by welov3 » Mon Jul 20, 2015 3:47 pm

Thanks a lot Ernie!!!!
this definitely point me i the right direction. I will be looking at this, which obviuvsly i havent't.
i really appreciated the tie you took to look at it for me

Newbie

Posts

Joined
Sat Jul 11, 2015 5:54 am
Who is online

Users browsing this forum: No registered users and 71 guests