• France
lyra.com
Search
Categories
Tags
docs.
France
Spain
Europe (English)
India
Home
Implementation
Embedded form (cards)
REST payment API
REST PCI-DSS payment API
REST SEPA API
Hosted payment
Data collection form
File exchange
Mobile payment
Snippets
Plugins
Marketplace
Back Office
Merchant Back Office
Expert Back Office
Guides
Help
FAQ
Video tutorials
Support

How do I add the Lyra Collect 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 Abstract Lyra Payment.php file located in /modules/ lyra /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(‘ lyra’)

->setLogo(‘../modules/ lyra /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.

Recruitment

Head Office :

LYRA NETWORK
109, rue de l’innovation
31670 Labège
FRANCE

2.8.1-doc-1.8