diff --git a/view/frontend/layout/default.xml b/view/frontend/layout/default.xml index eb79509..eae489e 100644 --- a/view/frontend/layout/default.xml +++ b/view/frontend/layout/default.xml @@ -8,9 +8,16 @@ + + + + diff --git a/view/frontend/templates/cart/payment-logos.phtml b/view/frontend/templates/cart/payment-logos.phtml new file mode 100644 index 0000000..62d2609 --- /dev/null +++ b/view/frontend/templates/cart/payment-logos.phtml @@ -0,0 +1,32 @@ +require(PaymentIcons::class); + +/** @var StorePayments $storePayments */ +$storePayments = $viewModels->require(StorePayments::class); + +$paymentOptions = $storePayments->getPaymentMethods(); + +if (!$paymentOptions) { + return ''; +} +?> + + diff --git a/view/frontend/templates/payment-logos.phtml b/view/frontend/templates/footer/payment-logos.phtml similarity index 92% rename from view/frontend/templates/payment-logos.phtml rename to view/frontend/templates/footer/payment-logos.phtml index 4ed9500..4fe8a4e 100644 --- a/view/frontend/templates/payment-logos.phtml +++ b/view/frontend/templates/footer/payment-logos.phtml @@ -26,7 +26,7 @@ if (!$paymentOptions) {