Page 1 of 1

What happened to OpenCart 4.1.0.3 "Payment Methods"?

Posted: Sun Jun 29, 2025 1:09 pm
by HAO
I am translating the language files in OpenCart 4.1.0.3, I found that 4.1.0.3 has a lot fewer strings than 4.0.0.0.

What happened?

4.0.0.0:

Code: Select all

<?php
// Heading
$_['heading_title']         = 'Payment Methods';

// Text
$_['text_account']          = 'Account';
$_['text_payment_method']   = 'Payment Method Entries';
$_['text_success']          = 'Your payment method has been successfully deleted';
$_['text_no_results']       = 'You have no payment methods in your account.';

// Column
$_['column_payment_method'] = 'Payment Method';
$_['column_type']           = 'Type';
$_['column_date_expire']    = 'Date Expires';
$_['column_action']         = 'Action';

// Error
$_['error_payment_method']  = 'Warning: Payment method could not be found!';
4.1.0.3:

Code: Select all

<?php
// Heading
$_['heading_title']   = 'Payment Methods';

// Text
$_['text_account']    = 'Account';
$_['text_no_results'] = 'You have no payment methods in your account.';

Re: What happened to OpenCart 4.1.0.3 "Payment Methods"?

Posted: Mon Jun 30, 2025 7:34 pm
by paulfeakins
Firstly, if you're talking about a specific file, you should give its path e.g.:

/admin/language/en-gb/extension/payment.php

Secondly, you can see the history of that file here:

https://github.com/opencart/opencart/co ... ayment.php

Re: What happened to OpenCart 4.1.0.3 "Payment Methods"?

Posted: Mon Jun 30, 2025 11:20 pm
by HAO
Sorry, I saw it here.
catalog/language/en-gb/account/payment_method.php

I'm curious why these strings were removed, Please forgive me, I still don't understand how to check the history of this file...

Sorry, I've learned how to see...

Thank you for teaching me.

Re: What happened to OpenCart 4.1.0.3 "Payment Methods"?

Posted: Tue Jul 01, 2025 2:19 am
by khnaz35
You can click on the commit and it will open up all the files where changes were made, red lines shows which lines were removed and green means which were added. So feel free to compare and track back.

You can do something like

Code: Select all

git show --word-diff --color --patch-with-stat <commit-hash>
or something like this in terminal

Code: Select all

git show <commit-hash> --diff-algorithm=histogram --color --word-diff