Post by waitz » Mon Oct 19, 2015 12:49 am

I would like to use different Bank Transfer Instructions on the checkout page than in the confirmation email.

On the checkout page I would like that it says: "You will receive bank transfer instructions with you order confirmation" and in the order confirmation I would like to have the whole Bank Transfer Instruction text.

Is this possible? Either with a code change or with an extension?

Thanks

Opencart: 3.0.2.1 | Inside Mijoshop 4.0.8 in Joomla 3.9.5


New member

Posts

Joined
Tue Jan 10, 2012 12:22 am

Post by IP_CAM » Mon Oct 19, 2015 3:52 am

GENERALLY, you have to change ALL LANGUAGE RELATED content here:
shop\catalog\language\english\...., or in your language Sub,
in the 'task - corresponding' Section Sub and File.

To find the file, if you cannot locate it, just search for the Text, you want to change, like:

Code: Select all

Please transfer the total amount to the following bank account.
BUT be aware, that SOME Text Lines contain special CODING, usually display 'Content' as %s Variable-Values,
related to the specific Task as well, therefore, to search for something, possibly, usually visibly,
containing such DATA, variable Numbers, or other TASK-related Content, or things like &
instead of a 'normally' written &, like:

Code: Select all

$_['text_checkout_option']           = 'Step %s: Checkout Options';
$_['text_checkout_account']          = 'Step %s: Account & Billing Details';
you need to search for STRICT LANGUAGE Parts of this, like:

Code: Select all

Checkout Options
Billing Details
in order to possibly FIND the correct File, and Line, to change!
But such SIMILAR Content Part is possibly PLACED in other Files, as well,
NOT RELATED WITH the Task, you plan!
Therefore, always make a Backup, of the default file, in case, you screw up!

UPDATE:
It all could be done much easier, by using an OC V.2.x Admin Tool like the famous free OC Translate Mate.
It's an Update of my beloved Opencart v.1.5.6.x Magic Translations Editor. But it only came into my mind, after
writing all this. But so, at least, you know, on how it works! :D

OC Translate Mate OC v.2.x:
http://www.opencart.com/index.php?route ... n_id=23098

OC Magic Translations OC v.1.5.6.x:
http://www.ipc.li/os/magic-translations.zip

Infos on Function:
http://forum.opencart.com/viewtopic.php ... anslations

Good Luck! ;)
Ernie
bigmax.ch/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 NielN98 » Wed Nov 23, 2016 9:00 pm

With this tool, I can not add things that are not translated.
So, this is not the solution...

New member

Posts

Joined
Fri Jul 31, 2015 5:32 pm

Post by artcore » Wed Nov 23, 2016 9:35 pm

Hi,
I made something a while ago that's not exactly what you want but it might give you some new insights:
thread: viewtopic.php?f=190&t=159157&start=0
attachment: viewtopic.php?t=159157&p=609491#p609491

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands

Post by NielN98 » Wed Nov 23, 2016 10:07 pm

I found it: I have renamed default.php to fr-FR.php and now it's works. Thanks for the comments!

New member

Posts

Joined
Fri Jul 31, 2015 5:32 pm
Who is online

Users browsing this forum: No registered users and 79 guests