Skip to content

Commit

Permalink
Add payment icos in checkout payment steps
Browse files Browse the repository at this point in the history
  • Loading branch information
moneimagento committed May 31, 2024
1 parent 9fb4c37 commit 8aaa6db
Show file tree
Hide file tree
Showing 18 changed files with 123 additions and 8 deletions.
3 changes: 3 additions & 0 deletions view/frontend/layout/checkout_index_index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="Monei_MoneiPayment::css/monei-payment.css" />
<css src="Monei_MoneiPayment::css/card-input.css" />
<css src="Monei_MoneiPayment::css/mbway.css" />
<css src="Monei_MoneiPayment::css/multibanco.css" />
<css src="Monei_MoneiPayment::css/bizum.css" />
<css src="Monei_MoneiPayment::css/google-apple.css" />
</head>
Expand Down
4 changes: 4 additions & 0 deletions view/frontend/web/css/bizum.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.payment-method#monei_bizum .payment-method-title label span.monei-payment-icon{
background: url(../img/bizum.svg) no-repeat;
width: 70px;
}
#monei-bizum-insite-payment-form {
width: 225px;
}
Expand Down
5 changes: 5 additions & 0 deletions view/frontend/web/css/card-input.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.payment-method#monei_card .payment-method-title label span.monei-payment-icon{
background: url(../img/cards.svg) no-repeat;
width: 220px;
}

#monei-card-insite-payment-form {
display: block;
padding: 10px 0;
Expand Down
8 changes: 8 additions & 0 deletions view/frontend/web/css/google-apple.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
.payment-method#monei_google_pay .payment-method-title label span.monei-payment-icon{
background: url(../img/google-pay.svg) no-repeat;
width: 50px;
}
.payment-method#monei_apple_pay .payment-method-title label span.monei-payment-icon{
background: url(../img/apple-pay.svg) no-repeat;
width: 50px;
}
#monei-google-apple-insite-payment-form {
width: 130px;
}
Expand Down
4 changes: 4 additions & 0 deletions view/frontend/web/css/mbway.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.payment-method#monei_mbway_redirect .payment-method-title label span.monei-payment-icon{
background: url(../img/mbway.svg) no-repeat;
width: 45px;
}
6 changes: 6 additions & 0 deletions view/frontend/web/css/monei-payment.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.payment-method.monei-payment-methods .payment-method-title label{
display: inline-flex;
}
.payment-method.monei-payment-methods .payment-method-title label span:first-child {
padding-right: 10px;
}
4 changes: 4 additions & 0 deletions view/frontend/web/css/multibanco.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.payment-method#monei_multibanco_redirect .payment-method-title label span.monei-payment-icon{
background: url(../img/multibanco.svg) no-repeat;
width: 105px;
}
3 changes: 3 additions & 0 deletions view/frontend/web/img/apple-pay.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions view/frontend/web/img/bizum.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions view/frontend/web/img/cards.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions view/frontend/web/img/google-pay.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8aaa6db

Please sign in to comment.