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
0f5021f2
Commit
0f5021f2
authored
Nov 22, 2022
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化购物车按钮组
parent
2bc919ad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
20 deletions
+17
-20
app/code/Magento/Checkout/i18n/en_US.csv
+1
-1
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/minicart/content.html
+12
-19
app/design/frontend/Joshine/breeze/web/css/_custom.less
+4
-0
No files found.
app/code/Magento/Checkout/i18n/en_US.csv
View file @
0f5021f2
...
...
@@ -132,7 +132,7 @@ Remove,Remove
"Ship To:","Ship To:"
edit,edit
"Order Summary","Order Summary"
"View and Edit Cart","View
and Edit
Cart"
"View and Edit Cart","View Cart"
"View Details","View Details"
"Field ","Field "
" is required."," is required."
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/minicart/content.html
View file @
0f5021f2
...
...
@@ -54,25 +54,6 @@
<each
args=
"getRegion('subtotalContainer')"
render=
""
></each>
</div>
<div
class=
"actions"
if=
"getCartParam('possible_onepage_checkout')"
>
<div
class=
"primary"
>
<button
id=
"top-cart-btn-checkout"
type=
"button"
class=
"action primary checkout"
data-action=
"close"
data-bind=
"
attr: {
title: $t('Proceed to Checkout')
},
click: closeMinicart()
"
translate=
"'Proceed to Checkout'"
style=
"background: #ffa800;"
>
</button>
<div
data-bind=
"html: getCartParamUnsanitizedHtml('extra_actions')"
style=
"display: none;"
></div>
</div>
</div>
</if>
...
...
@@ -94,6 +75,18 @@
<div
class=
"actions"
if=
"getCartParam('summary_count')"
>
<div
class=
"secondary"
>
<button
id=
"top-cart-btn-viewcart"
type=
"button"
class=
"action viewcart"
data-action=
"close"
data-bind=
"attr: {href: shoppingCartUrl}"
translate=
"'View and Edit Cart'"
style=
"background: #ffa800;"
>
</button>
</div>
</div>
<div
class=
"actions"
if=
"getCartParam('summary_count')"
>
<div
class=
"secondary"
>
<a
class=
"action viewcart"
data-bind=
"attr: {href: shoppingCartUrl}"
>
<span
translate=
"'View and Edit Cart'"
></span>
</a>
...
...
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
0f5021f2
...
...
@@ -2429,6 +2429,10 @@ tr.grand.totals {
margin-left: 10%;
}
.product-reviews-summary{
float: right;
margin-left: 70%;
...
...
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