How do I add the Systempay payment method logo to PrestaShop 1.7?
Since version 1.7 of PrestaShop, the payment method logos are no longer displayed. We have therefore adapted to this new presentation.
If you wish to display the logo, you must modify the code of the module as follows:
- Open the AbstractSystempayPayment.php file located in /modules/systempay/classes/payment/
- Go to approximately line 142 (public function getPaymentOption).
- Remove the comment from the line containing setlogo (by removing //) and remove the ; on the previous line.
You will obtain:
Since version 1.11 of our module, this modification is no longer necessary since we have integrated it into the module.