Skip to content

Commit

Permalink
Merge branch 'develop' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandarBoljanovic committed Mar 4, 2024
2 parents 59b5d96 + 4b05a00 commit 0b3fe65
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/adyenofficial.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function __construct()
{
$this->name = 'adyenofficial';
$this->tab = 'payments_gateways';
$this->version = '5.1.10';
$this->version = '5.1.11';

$this->author = $this->l('Adyen');
$this->need_instance = 0;
Expand Down Expand Up @@ -638,7 +638,8 @@ public function hookActionFrontControllerSetMedia(): void
if ($this->context->controller->php_self === 'product' ||
$this->context->controller->php_self === 'cart' ||
$this->context->controller->php_self === 'order-confirmation' ||
$this->context->controller->php_self === 'order') {
$this->context->controller->php_self === 'order' ||
$this->context->controller->page_name === 'module-adyenofficial-payment') {
$this->getContext()->controller->addCSS($this->getPathUri() . 'views/css/adyen-checkout.css');
$this->getContext()->controller->addJS($this->getPathUri() . 'views/js/front/adyen-checkout-controller.js');
$this->getContext()->controller->addJS(
Expand Down

0 comments on commit 0b3fe65

Please sign in to comment.