I m running Opencart 3.0.3.2. Can some clever person tell me where and what file displays the check out page and pulls the payment and shipping options etc.
I have managed to change the text on most of my payment options to suit but there is one that I simply cannot find in the usual language based files. I suspect it is pulling the payment description from the suppliers own site instead of my local language based file.
I want to take a look at the actual cart file to see if I can see where it may be pulling this description from so I can edit it. I also want to add an icon to the description like I have next to the Bank Transfer and Credit Card options.
I have managed to change the text on most of my payment options to suit but there is one that I simply cannot find in the usual language based files. I suspect it is pulling the payment description from the suppliers own site instead of my local language based file.
I want to take a look at the actual cart file to see if I can see where it may be pulling this description from so I can edit it. I also want to add an icon to the description like I have next to the Bank Transfer and Credit Card options.
Use Grepwin (if using Windows) to search for lines of text. It's free, fast and reliable to find the text queries that you want.MikeBNZ wrote: ↑Fri Jan 08, 2021 1:05 pmI m running Opencart 3.0.3.2. Can some clever person tell me where and what file displays the check out page and pulls the payment and shipping options etc.
I have managed to change the text on most of my payment options to suit but there is one that I simply cannot find in the usual language based files. I suspect it is pulling the payment description from the suppliers own site instead of my local language based file.
I want to take a look at the actual cart file to see if I can see where it may be pulling this description from so I can edit it. I also want to add an icon to the description like I have next to the Bank Transfer and Credit Card options.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
If your web host provides you with shell access then you should be able run grep from console, however I suggest you research its usage first.
Payment description you are looking for is probably stored in the language file for the payment gateway. (ex: language/en-gb/extension/payment/bank_transfer.php )
Payment description you are looking for is probably stored in the language file for the payment gateway. (ex: language/en-gb/extension/payment/bank_transfer.php )
Backup and learn how to recover before you make any changes!
Thank you for your response. Yes, this is the English (in my case) text but what I am trying to locate is the file that pulls this information for display. It is the file that actually displays the entire checkout screen including all payment options, shipping options etc. I am not a programmer so excuse my attempts at describing this. I guess it is the file that pulls that English text and displays it if that makes sense.
Do you mean the final screen of order confirmation
If so you might be looking for this if I understand correctly
/catalog/controller/checkout/confirm.php
If so you might be looking for this if I understand correctly
/catalog/controller/checkout/confirm.php
ORstraightlight wrote: ↑Fri Jan 08, 2021 1:11 pmUse Grepwin (if using Windows) to search for lines of text. It's free, fast and reliable to find the text queries that you want.
Windows
findstr /s /i /m /C: "string to find" *.*
from the command prompt
Linux
grep -iRl "string to find" /your/path/to/search
Well, but what will happen, if, for what reason ever, your Site breaks down, and youThe site is quite large so I am trying to avoid having to download all files
have no local Copy, to re-upload it again ?


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 13 guests