diff --git a/composer.json b/composer.json index 43b71d3..12b585d 100644 --- a/composer.json +++ b/composer.json @@ -1,16 +1,17 @@ { - "name": "snowdog/module-hyva-checkout-inpost", - "description": "Hyva Checkout compatybility module for Inpost", - "type": "magento2-module", - "require": { - "smartmage/inpost": "*" - }, - "autoload": { - "files": [ - "src/registration.php" - ], - "psr-4": { - "Snowdog\\Hyva\\Checkout\\Inpost\\": "src" - } - } -} + "name": "snowdog/module-hyva-checkout-inpost", + "description": "Hyva Checkout compatybility module for Inpost", + "type": "magento2-module", + "require": { + "smartmage/inpost": "*", + "hyva-themes/magento2-theme-module": "^1.3.11" + }, + "autoload": { + "files": [ + "src/registration.php" + ], + "psr-4": { + "Snowdog\\Hyva\\Checkout\\Inpost\\": "src" + } + } +} \ No newline at end of file diff --git a/src/view/frontend/templates/inpostlocker-standardcod/geowidget-modal.phtml b/src/view/frontend/templates/inpostlocker-standardcod/geowidget-modal.phtml index 934c34f..6b859eb 100644 --- a/src/view/frontend/templates/inpostlocker-standardcod/geowidget-modal.phtml +++ b/src/view/frontend/templates/inpostlocker-standardcod/geowidget-modal.phtml @@ -23,8 +23,18 @@ $modalBlock = $modal->getContentRenderer(); $modalBlock->setData('token', $viewModel->getGeoToken()); ?>
+ +registerInlineScript() ?> \ No newline at end of file diff --git a/src/view/frontend/templates/inpostlocker-standardcod/locker.phtml b/src/view/frontend/templates/inpostlocker-standardcod/locker.phtml index af073df..54a19ac 100644 --- a/src/view/frontend/templates/inpostlocker-standardcod/locker.phtml +++ b/src/view/frontend/templates/inpostlocker-standardcod/locker.phtml @@ -23,7 +23,7 @@ $heroIcons = $viewModels->require(HeroiconsOutline::class);
locker): ?> @@ -55,3 +55,13 @@ $heroIcons = $viewModels->require(HeroiconsOutline::class); escapeHtml(__('Choose locker')) ?>
+ +registerInlineScript() ?> \ No newline at end of file diff --git a/src/view/frontend/templates/inpostlocker_standard/geowidget-modal.phtml b/src/view/frontend/templates/inpostlocker_standard/geowidget-modal.phtml index 619cd95..2e51a17 100644 --- a/src/view/frontend/templates/inpostlocker_standard/geowidget-modal.phtml +++ b/src/view/frontend/templates/inpostlocker_standard/geowidget-modal.phtml @@ -23,8 +23,18 @@ $modalBlock = $modal->getContentRenderer(); $modalBlock->setData('token', $viewModel->getGeoToken()); ?>
+ +registerInlineScript() ?> \ No newline at end of file diff --git a/src/view/frontend/templates/inpostlocker_standard/locker.phtml b/src/view/frontend/templates/inpostlocker_standard/locker.phtml index f2b4f97..a5f8383 100644 --- a/src/view/frontend/templates/inpostlocker_standard/locker.phtml +++ b/src/view/frontend/templates/inpostlocker_standard/locker.phtml @@ -17,7 +17,7 @@ $heroIcons = $viewModels->require(\Hyva\Theme\ViewModel\HeroiconsOutline::class)
locker): ?> @@ -49,3 +49,13 @@ $heroIcons = $viewModels->require(\Hyva\Theme\ViewModel\HeroiconsOutline::class) escapeHtml(__('Choose locker')) ?>
+ +registerInlineScript() ?> \ No newline at end of file