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
1eaa7415
Commit
1eaa7415
authored
Mar 28, 2023
by
dhn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠券展开
parent
74d41df3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/cart/coupon.phtml
+7
-1
app/design/frontend/Joshine/breeze/Magento_SalesRule/web/template/payment/discount.html
+1
-1
app/design/frontend/Joshine/breeze/Magento_Swatches/web/js/swatch-renderer.js
+2
-0
No files found.
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/cart/coupon.phtml
View file @
1eaa7415
...
...
@@ -21,11 +21,17 @@ $hasCouponCode = (bool) strlen($block->getCouponCode());
padding
:
0px
1rem
;
}
</style>
<!--
<div class="block discount"
id="block-discount"
data-mage-init='{"collapsible":{"active":
<?=
$hasCouponCode
?
'true'
:
'false'
?>
, "openedState": "active", "saveState": false}}'
>
<div
class=
"title"
data-role=
"title"
aria-controls=
"block-summary"
role=
"tab"
aria-selected=
"false"
aria-expanded=
"false"
tabindex=
"0"
>
-->
<div
class=
"block discount"
id=
"block-discount"
data-mage-init=
'{"collapsible":{"active":"true", "openedState": "active", "saveState": false}}'
>
<div
class=
"title"
data-role=
"title"
aria-controls=
"block-summary"
role=
"tab"
aria-selected=
"true"
aria-expanded=
"true"
tabindex=
"0"
>
<strong
id=
"block-shipping-coupon"
role=
"heading"
aria-level=
"2"
>
<?=
__
(
"Coupon Code"
)
?>
</strong>
</div>
<div
class=
"content"
data-role=
"content"
aria-labelledby=
"block-discount-heading"
style=
"display: block;"
>
...
...
app/design/frontend/Joshine/breeze/Magento_SalesRule/web/template/payment/discount.html
View file @
1eaa7415
...
...
@@ -5,7 +5,7 @@
*/
-->
<div
class=
"payment-option _collapsible opc-payment-additional discount-code"
data-bind=
"mageInit: {'collapsible':{'active':
fals
e, 'openedState': '_active'}}"
data-collapsible=
"true"
>
data-bind=
"mageInit: {'collapsible':{'active':
tru
e, 'openedState': '_active'}}"
data-collapsible=
"true"
>
<div
class=
"payment-option-title field choice"
data-role=
"title"
>
<span
class=
"action action-toggle"
id=
"block-discount-heading"
role=
"heading"
aria-level=
"2"
>
<!-- ko i18n: 'Apply Discount Code'--><!-- /ko -->
...
...
app/design/frontend/Joshine/breeze/Magento_Swatches/web/js/swatch-renderer.js
View file @
1eaa7415
...
...
@@ -1493,6 +1493,7 @@ define([
var
galleryObject
=
element
.
data
(
'gallery'
);
this
.
options
.
mediaGalleryInitial
=
galleryObject
.
returnCurrentImages
();
/*
if($('.swatch-attribute .swatch-option'))
{
var swatchObj = $('.swatch-attribute');
...
...
@@ -1502,6 +1503,7 @@ define([
$(swatchObj[i]).find('.swatch-option:first').trigger('click');
}
}
*/
},
/**
...
...
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