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
f0366d6f
Commit
f0366d6f
authored
Nov 07, 2022
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改minicat模板产品位置
parent
b1beb2d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
102 additions
and
0 deletions
+102
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/i18n/en_US.csv
+1
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/minicart/content.html
+101
-0
No files found.
app/design/frontend/Joshine/breeze/Magento_Checkout/i18n/en_US.csv
View file @
f0366d6f
...
@@ -483,6 +483,7 @@ Required,Required
...
@@ -483,6 +483,7 @@ Required,Required
"Add Selected Products","Add Selected Products"
"Add Selected Products","Add Selected Products"
Remove,Remove
Remove,Remove
"Cart Subtotal","Subtotal"
"Cart Subtotal","Subtotal"
"View and Edit Cart","View and Edit Cart"
Thumbnail,Thumbnail
Thumbnail,Thumbnail
Actions,Actions
Actions,Actions
"Schedule Update From","Schedule Update From"
"Schedule Update From","Schedule Update From"
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/minicart/content.html
View file @
f0366d6f
...
@@ -4,5 +4,106 @@
...
@@ -4,5 +4,106 @@
* See COPYING.txt for license details.
* See COPYING.txt for license details.
*/
*/
-->
-->
<div
class=
"block-title"
>
<strong>
<span
class=
"text"
translate=
"'My Cart'"
></span>
<span
class=
"qty empty"
text=
"getCartParam('summary_count')"
data-bind=
"css: { empty: !!getCartParam('summary_count') == false },
attr: { title: $t('Items in Cart') }"
>
</span>
</strong>
</div>
<div
class=
"block-content"
>
<button
type=
"button"
id=
"btn-minicart-close"
class=
"action close"
data-action=
"close"
data-bind=
"
attr: {
title: $t('Close')
},
click: closeMinicart()
"
>
<span
translate=
"'Close'"
></span>
</button>
<if
args=
"getCartParam('summary_count')"
>
<strong
class=
"subtitle"
translate=
"'Recently added item(s)'"
></strong>
<div
data-action=
"scroll"
class=
"minicart-items-wrapper"
>
<ol
id=
"mini-cart"
class=
"minicart-items"
data-bind=
"foreach: { data: getCartItems(), as: 'item' }"
>
<each
args=
"$parent.getRegion($parent.getItemRenderer(item.product_type))"
render=
"{name: getTemplate(), data: item, afterRender: function() {$parents[1].initSidebar()}}"
></each>
</ol>
</div>
</if>
<if
args=
"getCartParam('summary_count')"
>
<div
class=
"items-total"
>
<span
class=
"count"
if=
"maxItemsToDisplay < getCartLineItemsCount()"
text=
"maxItemsToDisplay"
></span>
<translate
args=
"'of'"
if=
"maxItemsToDisplay < getCartLineItemsCount()"
></translate>
<span
class=
"count"
text=
"getCartParam('summary_count')"
></span>
<!-- ko if: (getCartParam('summary_count') > 1) -->
<span
translate=
"'Items in Cart'"
></span>
<!--/ko-->
<!-- ko if: (getCartParam('summary_count') === 1) -->
<span
translate=
"'Item in Cart'"
></span>
<!--/ko-->
</div>
<each
args=
"getRegion('subtotalContainer')"
render=
""
></each>
<each
args=
"getRegion('extraInfo')"
render=
""
></each>
<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'"
>
</button>
<div
data-bind=
"html: getCartParamUnsanitizedHtml('extra_actions')"
></div>
</div>
</div>
</if>
<ifnot
args=
"getCartParam('summary_count')"
>
<strong
class=
"subtitle empty"
translate=
"'You have no items in your shopping cart.'"
></strong>
<if
args=
"getCartParam('cart_empty_message')"
>
<p
class=
"minicart empty text"
text=
"getCartParam('cart_empty_message')"
></p>
<div
class=
"actions"
>
<div
class=
"secondary"
>
<a
class=
"action viewcart"
data-bind=
"attr: {href: shoppingCartUrl}"
>
<span
translate=
"'View and Edit Cart'"
></span>
</a>
</div>
</div>
</if>
</ifnot>
<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>
</div>
</div>
<div
id=
"minicart-widgets"
class=
"minicart-widgets"
if=
"regionHasElements('promotion')"
>
<each
args=
"getRegion('promotion')"
render=
""
></each>
</div>
</div>
<each
args=
"getRegion('sign-in-popup')"
render=
""
></each>
<each
args=
"getRegion('sign-in-popup')"
render=
""
></each>
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