Post by paradoxx » Tue Jan 02, 2018 8:25 pm

Hi gentlemen,

I'm trying to replace the text in the checkout when bank transfer is selected.
I need to put it after the confirm button. I have searched inside the confirm.tpl file but no matter what I do, no changes are reflected.

Image
https://imgur.com/ZdPXgWD

I would appreciate if someone can give me a hint on how and where to do this :)

Thanks!!

New member

Posts

Joined
Sun Jun 30, 2013 5:56 am

Post by IP_CAM » Wed Jan 03, 2018 8:04 am

Well, it will not work this way, the 'Proceed' Function/Button is placed in the
'Main' File, and the Payment Content is placed in a 'Sub' File, beeing called,
to place the selected/chosen payment content into a 'given' Place, placed inside
of the Document 'FORM' Section, and so usually always placed above the Buttom.
It can therefore not be moved, without rewriting the entire Checkout Section, I assume...
Good Luck!
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + 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 paradoxx » Wed Jan 03, 2018 5:07 pm

Thank you for your answer IP_CAM, I thought it was easier :/, so the easiest way, instead of relocating it, would be to delete it. I will try to find the part for that and remove it. I hope I dont break it ;)

New member

Posts

Joined
Sun Jun 30, 2013 5:56 am

Post by Johnathan » Wed Jan 03, 2018 11:37 pm

Payment methods have their own .tpl file, which determines the content in the Confirm step of checkout underneath the order summary. You should be able to find it in one of these two locations, depending on OpenCart version:

/catalog/view/theme/YOURTHEME/template/payment/bank_transfer.tpl

or:

/catalog/view/theme/YOURTHEME/template/extension/payment/bank_transfer.tpl

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by paradoxx » Thu Jan 04, 2018 12:01 am

Thank you Johnathan!! as always really helpful.

At the moment I removed it because I need to correct a lot of errors that I still have. I will play with that afterwards and see if I can get it done like I wanted.

New member

Posts

Joined
Sun Jun 30, 2013 5:56 am
Who is online

Users browsing this forum: No registered users and 30 guests