Magento 2 Review & Payment Page UI modification
-
03-10-2020 - |
Solution
To change payment method title you don't need to modify any files, you just need to set needing title in the PayPal Express Checkout configuration:
Go to Admin -> Stores -> Configuration -> Sales -> Payment Methods -> PayPal Express Checkout and expand Basic Setting - PayPal Express Checkout configuration section.
After saving new configuration you need to clear cache.
The image URL depends on configuration, the current URL is specified in the \Magento\PayPal\Model\Config::getPaymentMarkImageUrl
method. You can extend config, override this method and specify new config via di.xml
.
But current payment icon corresponds to PayPal guidelines.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange