Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
a2ee5056
Commit
a2ee5056
authored
Mar 17, 2023
by
dhn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
we-accept
parent
127897d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
34 deletions
+52
-34
app/code/Magento/Checkout/view/frontend/layout/checkout_cart_index.xml
+0
-1
app/code/Magento/Checkout/view/frontend/templates/cart/methods-new.phtml
+52
-33
No files found.
app/code/Magento/Checkout/view/frontend/layout/checkout_cart_index.xml
View file @
a2ee5056
...
...
@@ -180,7 +180,6 @@
<container
name=
"checkout.cart.methods"
as=
"methods"
label=
"Payment Methods After Checkout Button"
>
<block
class=
"Magento\Checkout\Block\Onepage\Link"
name=
"checkout.cart.methods.onepage.bottom"
template=
"Magento_Checkout::onepage/link.phtml"
/>
<block
class=
"Magento\Checkout\Block\QuoteShortcutButtons"
name=
"checkout.cart.shortcut.buttons"
/>
<block
class=
"Magento\Framework\View\Element\Template"
name=
"checkout.cart.we_accept"
template=
"Magento_Checkout::cart/we_accept.phtml"
/>
</container>
</block>
</container>
...
...
app/code/Magento/Checkout/view/frontend/templates/cart/methods-new.phtml
View file @
a2ee5056
...
...
@@ -17,54 +17,73 @@
white
-
space
:
nowrap
;
}
</
style
>
<
div
class
="
checkout
methods
items
checkout
-
methods
-
items
">
<div class="
item
checkout
-
now
">
<button type="
button
" data-role="
proceed
-
to
-
checkout
" title="
Checkout
Now
" class="
action
primary
checkout
">
<span class="
secure
"><img alt="" src="
/
media
/
wysiwyg
/
secure
.
png
"></span>
<span>Checkout Now</span>
</button>
</div>
<
div
class
="
checkout
methods
items
checkout
-
methods
-
items
" style="
background
-
color
:
#f2f2f2;">
<
div
style
=
"background-color: #fff;width:100%;gap: 1rem;"
>
<
div
class
="
item
checkout
-
now
" style="
margin
:
10
px
0
px
20
px
0
px
;
">
<button type="
button
" data-role="
proceed
-
to
-
checkout
" title="
Checkout
Now
" class="
action
primary
checkout
">
<span class="
secure
"><img alt="" src="
/
media
/
wysiwyg
/
secure
.
png
"></span>
<span>Checkout Now</span>
</button>
</div>
<div class="
item
">
<style type="
text
/
css
">
.displayno{
display: none;
}
</style>
<div class="
item
">
<style type="
text
/
css
">
.displayno{
display: none;
}
</style>
<div class="
or
-
checkout
-
with
" style="
display
:
flex
;
width
:
100
%
;
line
-
height
:
1.2
rem
;
"><span>OR CHECKOUT WITH</span></div>
<div class="
or
-
checkout
-
with
" style="
display
:
flex
;
width
:
100
%
;
line
-
height
:
1.2
rem
;
"><span>OR CHECKOUT WITH</span></div>
<div data-label="
or
" class="
paypal
checkout
after
paypal
-
logo
ec_shortcut_jjTyyXrRb0sVUXZkA5EduNvUofEEqeuO
">
<div class="
checkout
-
logo
-
medium
">
<input type="
image
" data-action="
checkout
-
form
-
submit
" data-checkout-url="
/
paypal
/
express
/
start
/
button
/
1
/
" src="
/
static
/
frontend
/
Joshine
/
breeze
/
en_US
/
Magento_Paypal
/
images
/
paypal
-
color
.
svg
" alt="
Checkout
with
PayPal
" title="
Checkout
with
PayPal
">
<div class="
checkout
-
txt
">Checkout</div>
<div data-label="
or
" class="
paypal
checkout
after
paypal
-
logo
ec_shortcut_jjTyyXrRb0sVUXZkA5EduNvUofEEqeuO
">
<div class="
checkout
-
logo
-
medium
">
<input type="
image
" data-action="
checkout
-
form
-
submit
" data-checkout-url="
/
paypal
/
express
/
start
/
button
/
1
/
" src="
/
static
/
frontend
/
Joshine
/
breeze
/
en_US
/
Magento_Paypal
/
images
/
paypal
-
color
.
svg
" alt="
Checkout
with
PayPal
" title="
Checkout
with
PayPal
">
<div class="
checkout
-
txt
">Checkout</div>
</div>
</div>
</div
>
<style type="
text
/
css
">
.displayno{
display: none;
}
</style>
<div data-label="
or
" class="
paypal
checkout
after
paypal
-
logo
ec_shortcut_bml_uk4wcxXNp0BvGHWy4ZWUMx397QbCJKdp
">
<div class="
paypal
-
credit
displayno
">
<input type="
image
" data-action="
checkout
-
form
-
submit
" data-checkout-url="
/
paypal
/
bml
/
start
/
button
/
1
/
" src="
/
static
/
frontend
/
Joshine
/
breeze
/
en_US
/
Magento_Paypal
/
images
/
paypal
-
credit
.
png
" alt="
Checkout
with
PayPal
" title="
Checkout
with
PayPa
l
">
<a href="
https
://
www
.
securecheckout
.
billmelater
.
com
/
paycapture
-
content
/
fetch
?
hash
=
AU826TU8
&
amp
;
content
=/
bmlweb
/
ppwpsiw
.
html
">
<
img src="
https
://
www
.
paypalobjects
.
com
/
webstatic
/
en_US
/
btn
/
btn_bml_text
.
png
"
>
</a
>
<
div class="
checkout
-
txt
">Checkout<
/div>
<style type="
text
/
css
"
>
.displayno{
display: none;
}
</style>
<div data-label="
or
" class="
paypal
checkout
after
paypal
-
logo
ec_shortcut_bml_uk4wcxXNp0BvGHWy4ZWUMx397QbCJKdp
">
<div class="
paypal
-
credit
displayno
">
<input type="
image
" data-action="
checkout
-
form
-
submit
" data-checkout-url="
/
paypal
/
bml
/
start
/
button
/
1
/
" src="
/
static
/
frontend
/
Joshine
/
breeze
/
en_US
/
Magento_Paypal
/
images
/
paypal
-
credit
.
png
" alt="
Checkout
with
PayPal
" title="
Checkout
with
PayPal
">
<a href="
https
://
www
.
securecheckout
.
billmelater
.
com
/
paycapture
-
content
/
fetch
?
hash
=
AU826TU8
&
amp
;
content
=/
bmlweb
/
ppwpsiw
.
htm
l
">
<img src="
https
://
www
.
paypalobjects
.
com
/
webstatic
/
en_US
/
btn
/
btn_bml_text
.
png
">
<
/a
>
<div class="
checkout
-
txt
">Checkout</div
>
</div>
</div>
</div>
</div>
<style>
#we-accept{
text-align: center;
background: #ffffff;
padding: 10px 20px;
}
#we-accept .title{
font-size: 24px;
font-weight: bold;
margin-bottom: 10px;
}
</style>
<div id="
we
-
accept
">
<div class="
title
">We Accept</div>
<img src="
/
media
/
wysiwyg
/
we_accept
.
png
" alt="">
</div>
</div>
<?php endif; ?>
<script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment