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
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
app/code/Magento/Checkout/view/frontend/layout/checkout_cart_index.xml
+0
-1
app/code/Magento/Checkout/view/frontend/templates/cart/methods-new.phtml
+21
-2
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,8 +17,9 @@
white
-
space
:
nowrap
;
}
</
style
>
<
div
class
="
checkout
methods
items
checkout
-
methods
-
items
">
<div class="
item
checkout
-
now
">
<
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>
...
...
@@ -66,6 +67,24 @@
</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>
require(['jquery'], function ($) {
...
...
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