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 AbstractSogecommercePayment.php file located in /modules/sogecommerce/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:
$option->setCallToActionText($this->getTitle((int)$cart->id_lang))
->setModuleName(‘sogecommerce’)
->setLogo(‘../modules/sogecommerce/views/img/’.$this->getLogo());
Since version 1.11 of our module, this modification is no longer necessary since we have integrated it into the module.