Modification of select-payment-method.js
vendor/magento/module-checkout/view/frontend/web/js/action/select-payment-method.js
vi /var/www/magento/vendor/magento/module-checkout/view/frontend/web/js/action/select-payment-method.js
define([
'../model/quote'
], function (quote) {
'use strict';
return function (paymentMethod) {
if (paymentMethod) {
paymentMethod.__disableTmpl = {
title: true
};
}
quote.paymentMethod(paymentMethod);
};
});
define([
'../model/quote'
], function (quote) {
'use strict';
return function (paymentMethod) {
/*if (paymentMethod) {
paymentMethod.__disableTmpl = {
title: true
};
}*/
quote.paymentMethod(paymentMethod);
};
});
$ sudo php bin/magento setup:upgrade
$ sudo php bin/magento setup:di:compile
$ sudo systemctl restart httpd