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
422e2a5f
Commit
422e2a5f
authored
Nov 18, 2022
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化购物流程
parent
2d3946f7
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
190 additions
and
789 deletions
+190
-789
app/code/Magento/Checkout/view/frontend/layout/checkout_index_index.xml
+0
-2
app/code/Magento/Checkout/view/frontend/templates/cart/coupon.phtml
+1
-1
app/code/Magento/SalesRule/view/frontend/web/template/payment/discount.html
+1
-1
app/design/frontend/Joshine/breeze/Magento_Checkout/layout/checkout_cart_index.xml
+2
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/layout/checkout_index_index.xml
+5
-438
app/design/frontend/Joshine/breeze/Magento_Checkout/layout/checkout_onepage_success.xml
+31
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/cart.phtml
+36
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/cart/coupon.phtml
+1
-3
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/cart/noItems.phtml
+1
-1
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/footer.phtml
+1
-2
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/onepage.phtml
+82
-339
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/success.phtml
+15
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/progress-bar.html
+13
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/shipping.html
+1
-2
No files found.
app/code/Magento/Checkout/view/frontend/layout/checkout_index_index.xml
View file @
422e2a5f
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
-->
-->
<page
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
layout=
"checkout"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<page
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
layout=
"checkout"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<body>
<body>
<referenceBlock
name=
"page.bottom.container"
remove=
"true"
/>
<referenceContainer
name=
"content"
>
<referenceContainer
name=
"content"
>
<block
class=
"Magento\Checkout\Block\Onepage"
name=
"checkout.root"
template=
"Magento_Checkout::onepage.phtml"
cacheable=
"false"
>
<block
class=
"Magento\Checkout\Block\Onepage"
name=
"checkout.root"
template=
"Magento_Checkout::onepage.phtml"
cacheable=
"false"
>
<arguments>
<arguments>
...
@@ -210,7 +209,6 @@
...
@@ -210,7 +209,6 @@
</item>
</item>
</item>
</item>
<item
name=
"company"
xsi:type=
"array"
>
<item
name=
"company"
xsi:type=
"array"
>
<item
name=
"visible"
xsi:type=
"boolean"
>
false
</item>
<item
name=
"validation"
xsi:type=
"array"
>
<item
name=
"validation"
xsi:type=
"array"
>
<item
name=
"min_text_length"
xsi:type=
"number"
>
0
</item>
<item
name=
"min_text_length"
xsi:type=
"number"
>
0
</item>
</item>
</item>
...
...
app/code/Magento/Checkout/view/frontend/templates/cart/coupon.phtml
View file @
422e2a5f
...
@@ -16,7 +16,7 @@ $hasCouponCode = (bool) strlen($block->getCouponCode());
...
@@ -16,7 +16,7 @@ $hasCouponCode = (bool) strlen($block->getCouponCode());
data-mage-init=
'{"collapsible":{"active":
<?=
$hasCouponCode
?
'true'
:
'false'
?>
, "openedState": "active", "saveState": false}}'
data-mage-init=
'{"collapsible":{"active":
<?=
$hasCouponCode
?
'true'
:
'false'
?>
, "openedState": "active", "saveState": false}}'
>
>
<div
class=
"title"
data-role=
"title"
>
<div
class=
"title"
data-role=
"title"
>
<strong
id=
"block-discount-heading"
role=
"heading"
aria-level=
"2"
>
<?=
$block
->
escapeHtml
(
__
(
'Apply Discount Code'
))
?>
</strong>
<strong
id=
"block-discount-heading"
role=
"heading"
aria-level=
"2"
>
<?=
$block
->
escapeHtml
(
__
(
'Apply Discount Code'
))
?>
11
</strong>
</div>
</div>
<div
class=
"content"
data-role=
"content"
aria-labelledby=
"block-discount-heading"
>
<div
class=
"content"
data-role=
"content"
aria-labelledby=
"block-discount-heading"
>
<form
id=
"discount-coupon-form"
<form
id=
"discount-coupon-form"
...
...
app/code/Magento/SalesRule/view/frontend/web/template/payment/discount.html
View file @
422e2a5f
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<div
class=
"payment-option _collapsible opc-payment-additional discount-code"
<div
class=
"payment-option _collapsible opc-payment-additional discount-code"
data-bind=
"mageInit: {'collapsible':{'active':true, 'openedState': '_active'}}"
data-collapsible=
"true"
>
data-bind=
"mageInit: {'collapsible':{'active':true, 'openedState': '_active'}}"
data-collapsible=
"true"
>
<div
class=
"payment-option-title field choice"
data-role=
"title"
>
<div
class=
"payment-option-title field choice"
data-role=
"title"
>
<span
class=
"action action-toggle"
id=
"block-discount-heading"
role=
"heading"
aria-level=
"2"
>
<span
class=
"action action-toggle"
id=
"block-discount-heading"
role=
"heading"
aria-level=
"2"
>
2222
<!-- ko i18n: 'Apply Discount Code'--><!-- /ko -->
<!-- ko i18n: 'Apply Discount Code'--><!-- /ko -->
</span>
</span>
</div>
</div>
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/layout/checkout_cart_index.xml
View file @
422e2a5f
...
@@ -12,6 +12,8 @@
...
@@ -12,6 +12,8 @@
<referenceBlock
name=
"global_notices"
remove=
"true"
/>
<referenceBlock
name=
"global_notices"
remove=
"true"
/>
<referenceContainer
name=
"page.bottom.container"
remove=
"true"
/>
<referenceContainer
name=
"page.bottom.container"
remove=
"true"
/>
<referenceContainer
name=
"footer-container"
remove=
"true"
/>
<referenceContainer
name=
"footer-container"
remove=
"true"
/>
<referenceContainer
name=
"page.messages"
remove=
"true"
/>
<referenceContainer
name=
"content"
>
<referenceContainer
name=
"content"
>
<block
class=
"Magento\Theme\Block\Html\Header\Logo"
name=
"logo"
before=
"checkout.cart"
>
<block
class=
"Magento\Theme\Block\Html\Header\Logo"
name=
"logo"
before=
"checkout.cart"
>
<arguments>
<arguments>
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/layout/checkout_index_index.xml
View file @
422e2a5f
...
@@ -7,445 +7,12 @@
...
@@ -7,445 +7,12 @@
-->
-->
<page
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
layout=
"checkout"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<page
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
layout=
"checkout"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<body>
<body>
<referenceBlock
name=
"page.bottom.container"
remove=
"true"
/>
<referenceBlock
name=
"global_notices"
remove=
"true"
/>
<referenceContainer
name=
"page.bottom.container"
remove=
"true"
/>
<referenceContainer
name=
"footer-container"
remove=
"true"
/>
<referenceContainer
name=
"page.messages"
remove=
"true"
/>
<referenceContainer
name=
"content"
>
<referenceContainer
name=
"content"
>
<block
class=
"Magento\Checkout\Block\Onepage"
name=
"checkout.root"
template=
"Magento_Checkout::onepage.phtml"
cacheable=
"false"
>
<block
class=
"Magento\Framework\View\Element\Template"
name=
"checkout.cart.footer"
template=
"Magento_Checkout::footer.phtml"
/>
<arguments>
<argument
name=
"jsLayout"
xsi:type=
"array"
>
<item
name=
"types"
xsi:type=
"array"
>
<item
name=
"form.input"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Ui/js/form/element/abstract
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"provider"
xsi:type=
"string"
>
checkoutProvider
</item>
<item
name=
"deps"
xsi:type=
"array"
>
<item
name=
"0"
xsi:type=
"string"
>
checkoutProvider
</item>
</item>
<item
name=
"template"
xsi:type=
"string"
>
ui/form/field
</item>
<item
name=
"elementTmpl"
xsi:type=
"string"
>
ui/form/element/input
</item>
</item>
</item>
</item>
<item
name=
"components"
xsi:type=
"array"
>
<item
name=
"checkout"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"template"
xsi:type=
"string"
>
Magento_Checkout/onepage
</item>
</item>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"errors"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Ui/js/view/messages
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
messages
</item>
</item>
<item
name=
"authentication"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/authentication
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
authentication
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!--Additional authentication fields-->
<item
name=
"errors"
xsi:type=
"array"
>
<item
name=
"sortOrder"
xsi:type=
"string"
>
0
</item>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/authentication-messages
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
messages
</item>
</item>
</item>
</item>
<item
name=
"progressBar"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/progress-bar
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
progressBar
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"deps"
xsi:type=
"array"
>
<item
name=
"0"
xsi:type=
"string"
>
checkout.steps.shipping-step.shippingAddress
</item>
<item
name=
"1"
xsi:type=
"string"
>
checkout.steps.billing-step.payment
</item>
</item>
</item>
</item>
<item
name=
"estimation"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/estimation
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
estimation
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"template"
xsi:type=
"string"
>
Magento_Checkout/estimation
</item>
<item
name=
"deps"
xsi:type=
"array"
>
<item
name=
"0"
xsi:type=
"string"
>
checkout.sidebar
</item>
</item>
</item>
</item>
<item
name=
"steps"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
steps
</item>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"shipping-step"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"sortOrder"
xsi:type=
"string"
>
1
</item>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"step-config"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"shipping-rates-validation"
xsi:type=
"array"
>
<item
name=
"children"
xsi:type=
"array"
>
<!--Step configuration components-->
</item>
</item>
</item>
</item>
<item
name=
"shippingAddress"
xsi:type=
"array"
>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"deps"
xsi:type=
"array"
>
<item
name=
"0"
xsi:type=
"string"
>
checkout.steps.shipping-step.step-config
</item>
<item
name=
"1"
xsi:type=
"string"
>
checkoutProvider
</item>
</item>
<item
name=
"popUpForm"
xsi:type=
"array"
>
<item
name=
"element"
xsi:type=
"string"
>
#opc-new-shipping-address
</item>
<item
name=
"options"
xsi:type=
"array"
>
<item
name=
"type"
xsi:type=
"string"
>
popup
</item>
<item
name=
"responsive"
xsi:type=
"boolean"
>
true
</item>
<item
name=
"innerScroll"
xsi:type=
"boolean"
>
true
</item>
<item
name=
"title"
xsi:type=
"string"
translate=
"true"
>
Shipping Address
</item>
<item
name=
"trigger"
xsi:type=
"string"
>
opc-new-shipping-address
</item>
<item
name=
"buttons"
xsi:type=
"array"
>
<item
name=
"save"
xsi:type=
"array"
>
<item
name=
"text"
xsi:type=
"string"
translate=
"true"
>
Ship Here
</item>
<item
name=
"class"
xsi:type=
"string"
>
action primary action-save-address
</item>
</item>
<item
name=
"cancel"
xsi:type=
"array"
>
<item
name=
"text"
xsi:type=
"string"
translate=
"true"
>
Cancel
</item>
<item
name=
"class"
xsi:type=
"string"
>
action secondary action-hide-popup
</item>
</item>
</item>
</item>
</item>
</item>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/shipping
</item>
<item
name=
"provider"
xsi:type=
"string"
>
checkoutProvider
</item>
<item
name=
"sortOrder"
xsi:type=
"string"
>
10
</item>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"customer-email"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/form/element/email
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
customer-email
</item>
<item
name=
"tooltip"
xsi:type=
"array"
>
<item
name=
"description"
xsi:type=
"string"
translate=
"true"
>
We'll send your order confirmation here.
</item>
</item>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"before-login-form"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
before-login-form
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- before login form fields -->
</item>
</item>
<item
name=
"additional-login-form-fields"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
additional-login-form-fields
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- additional login form fields -->
</item>
</item>
</item>
</item>
<item
name=
"before-form"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
before-form
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- before form fields -->
</item>
</item>
<item
name=
"before-fields"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
before-fields
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- before fields -->
</item>
</item>
<item
name=
"address-list"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/shipping-address/list
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
address-list
</item>
</item>
<item
name=
"address-list-additional-addresses"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
address-list-additional-addresses
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- address-list-additional-addresses -->
</item>
</item>
<item
name=
"before-shipping-method-form"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
before-shipping-method-form
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- address-list-additional-addresses -->
</item>
</item>
<item
name=
"shipping-address-fieldset"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"deps"
xsi:type=
"array"
>
<item
name=
"0"
xsi:type=
"string"
>
checkoutProvider
</item>
</item>
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
additional-fieldsets
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- The following items override configuration of corresponding address attributes -->
<item
name=
"region"
xsi:type=
"array"
>
<!-- Make region attribute invisible on frontend. Corresponding input element is created by region_id field -->
<item
name=
"visible"
xsi:type=
"boolean"
>
false
</item>
</item>
<item
name=
"region_id"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Ui/js/form/element/region
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"template"
xsi:type=
"string"
>
ui/form/field
</item>
<item
name=
"elementTmpl"
xsi:type=
"string"
>
ui/form/element/select
</item>
<item
name=
"customEntry"
xsi:type=
"string"
>
shippingAddress.region
</item>
</item>
<item
name=
"validation"
xsi:type=
"array"
>
<item
name=
"required-entry"
xsi:type=
"boolean"
>
true
</item>
</item>
<!-- Value of region_id field is filtered by the value of county_id attribute -->
<item
name=
"filterBy"
xsi:type=
"array"
>
<item
name=
"target"
xsi:type=
"string"
>
<![CDATA[${ $.provider }:${ $.parentScope }.country_id]]>
</item>
<item
name=
"field"
xsi:type=
"string"
>
country_id
</item>
</item>
</item>
<item
name=
"postcode"
xsi:type=
"array"
>
<!-- post-code field has custom UI component -->
<item
name=
"component"
xsi:type=
"string"
>
Magento_Ui/js/form/element/post-code
</item>
<item
name=
"validation"
xsi:type=
"array"
>
<item
name=
"required-entry"
xsi:type=
"boolean"
>
true
</item>
</item>
</item>
<item
name=
"company"
xsi:type=
"array"
>
<item
name=
"visible"
xsi:type=
"boolean"
>
false
</item>
<item
name=
"validation"
xsi:type=
"array"
>
<item
name=
"min_text_length"
xsi:type=
"number"
>
0
</item>
</item>
</item>
<item
name=
"fax"
xsi:type=
"array"
>
<item
name=
"validation"
xsi:type=
"array"
>
<item
name=
"min_text_length"
xsi:type=
"number"
>
0
</item>
</item>
</item>
<item
name=
"telephone"
xsi:type=
"array"
>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"tooltip"
xsi:type=
"array"
>
<item
name=
"description"
xsi:type=
"string"
translate=
"true"
>
For delivery questions.
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
<item
name=
"billing-step"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"sortOrder"
xsi:type=
"string"
>
2
</item>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"payment"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/payment
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"title"
xsi:type=
"string"
translate=
"true"
>
Payment
</item>
<item
name=
"sortOrder"
xsi:type=
"string"
>
20
</item>
</item>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"renders"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- merge payment method renders here -->
</item>
</item>
<item
name=
"additional-payment-validators"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- merge payment validators here -->
<item
name=
"email-validator"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/payment/email-validator
</item>
</item>
</item>
</item>
<item
name=
"customer-email"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/form/element/email
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
customer-email
</item>
<item
name=
"tooltip"
xsi:type=
"array"
>
<item
name=
"description"
xsi:type=
"string"
translate=
"true"
>
We'll send your order confirmation here.
</item>
</item>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"before-login-form"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
before-login-form
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- before login form fields -->
</item>
</item>
<item
name=
"additional-login-form-fields"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
additional-login-form-fields
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- additional login form fields -->
</item>
</item>
</item>
</item>
<item
name=
"place-order-captcha"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/checkout/placeOrderCaptcha
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
place-order-captcha
</item>
<item
name=
"formId"
xsi:type=
"string"
>
payment_processing_request
</item>
<item
name=
"configSource"
xsi:type=
"string"
>
checkoutConfig
</item>
</item>
<item
name=
"beforeMethods"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
beforeMethods
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- merge additional data before payment methods here -->
</item>
<item
name=
"validation"
xsi:type=
"array"
>
<item
name=
"validate-select"
xsi:type=
"string"
>
true
</item>
</item>
<!-- Value of region_id field is filtered by the value of county_id attribute -->
<item
name=
"filterBy"
xsi:type=
"array"
>
<item
name=
"target"
xsi:type=
"string"
>
${ $.provider }:${ $.parentScope }.country_id
</item>
<item
name=
"field"
xsi:type=
"string"
>
country_id
</item>
</item>
</item>
<item
name=
"payments-list"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/payment/list
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
payment-methods-list
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"deps"
xsi:type=
"array"
>
<item
name=
"0"
xsi:type=
"string"
>
checkout.steps.billing-step.payment.renders
</item>
<item
name=
"1"
xsi:type=
"string"
>
checkout.steps.billing-step.payment.additional-payment-validators
</item>
</item>
</item>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"before-place-order"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
before-place-order
</item>
<item
name=
"dataScope"
xsi:type=
"string"
>
before-place-order
</item>
<item
name=
"provider"
xsi:type=
"string"
>
checkoutProvider
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"template"
xsi:type=
"string"
>
Magento_Checkout/payment/before-place-order
</item>
</item>
</item>
</item>
</item>
<!-- merge your payment methods here -->
<item
name=
"afterMethods"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
afterMethods
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- merge additional data after payment methods here -->
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
<item
name=
"sidebar"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/sidebar
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
sidebar
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"template"
xsi:type=
"string"
>
Magento_Checkout/sidebar
</item>
<item
name=
"deps"
xsi:type=
"array"
>
<item
name=
"0"
xsi:type=
"string"
>
checkout.steps
</item>
</item>
</item>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"summary"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/summary
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
summary
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"template"
xsi:type=
"string"
>
Magento_Checkout/summary
</item>
</item>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"totals"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/summary/totals
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
totals
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"template"
xsi:type=
"string"
>
Magento_Checkout/summary/totals
</item>
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- sort order for this totals is configured on admin panel-->
<!-- Stores->Configuration->SALES->Sales->General->Checkout Totals Sort Order -->
<item
name=
"subtotal"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/summary/subtotal
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"title"
xsi:type=
"string"
translate=
"true"
>
Cart Subtotal
</item>
</item>
</item>
<item
name=
"shipping"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/summary/shipping
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"title"
xsi:type=
"string"
translate=
"true"
>
Shipping
</item>
<item
name=
"notCalculatedMessage"
xsi:type=
"string"
translate=
"true"
>
Not yet calculated
</item>
</item>
</item>
<item
name=
"grand-total"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/summary/grand-total
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"title"
xsi:type=
"string"
translate=
"true"
>
Order Total
</item>
</item>
</item>
</item>
</item>
<item
name=
"itemsBefore"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- merge your components here -->
</item>
</item>
<item
name=
"cart_items"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/summary/cart-items
</item>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"details"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/summary/item/details
</item>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"thumbnail"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/summary/item/details/thumbnail
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
before_details
</item>
</item>
<item
name=
"subtotal"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/summary/item/details/subtotal
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
after_details
</item>
</item>
<item
name=
"message"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/summary/item/details/message
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
item_message
</item>
</item>
</item>
</item>
</item>
</item>
<item
name=
"itemsAfter"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
<item
name=
"children"
xsi:type=
"array"
>
<!-- merge your components here -->
</item>
</item>
</item>
</item>
<item
name=
"shipping-information"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/shipping-information
</item>
<item
name=
"config"
xsi:type=
"array"
>
<item
name=
"deps"
xsi:type=
"string"
>
checkout.steps.shipping-step.shippingAddress
</item>
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
shipping-information
</item>
<item
name=
"children"
xsi:type=
"array"
>
<item
name=
"ship-to"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Checkout/js/view/shipping-information/list
</item>
<item
name=
"displayArea"
xsi:type=
"string"
>
ship-to
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
<item
name=
"checkoutProvider"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
uiComponent
</item>
</item>
</item>
</argument>
</arguments>
</block>
</referenceContainer>
</referenceContainer>
<referenceContainer
name=
"page.messages"
remove=
"true"
/>
</body>
</body>
</page>
</page>
app/design/frontend/Joshine/breeze/Magento_Checkout/layout/checkout_onepage_success.xml
0 → 100644
View file @
422e2a5f
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
layout=
"1column"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<head>
<title>
Success Page
</title>
</head>
<body>
<referenceBlock
name=
"global_notices"
remove=
"true"
/>
<referenceContainer
name=
"page.bottom.container"
remove=
"true"
/>
<referenceContainer
name=
"footer-container"
remove=
"true"
/>
<referenceContainer
name=
"page.messages"
remove=
"true"
/>
<referenceBlock
name=
"page.main.title"
>
<block
class=
"Magento\Checkout\Block\Onepage\Success"
name=
"checkout.success.print.button"
template=
"Magento_Checkout::button.phtml"
/>
<action
method=
"setPageTitle"
>
<argument
translate=
"true"
name=
"title"
xsi:type=
"string"
>
Thank you for your purchase!
</argument>
</action>
</referenceBlock>
<referenceContainer
name=
"content"
>
<block
class=
"Magento\Checkout\Block\Onepage\Success"
name=
"checkout.success"
template=
"Magento_Checkout::success.phtml"
cacheable=
"false"
>
<container
name=
"order.success.additional.info"
label=
"Order Success Additional Info"
/>
</block>
<block
class=
"Magento\Checkout\Block\Registration"
name=
"checkout.registration"
template=
"Magento_Checkout::registration.phtml"
cacheable=
"false"
/>
<block
class=
"Magento\Framework\View\Element\Template"
name=
"checkout.cart.footer"
template=
"Magento_Checkout::footer.phtml"
/>
</referenceContainer>
</body>
</page>
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/cart.phtml
View file @
422e2a5f
...
@@ -31,6 +31,42 @@
...
@@ -31,6 +31,42 @@
margin-left
:
20px
;
margin-left
:
20px
;
color
:
#1b1b1b
;
color
:
#1b1b1b
;
}
}
@media
(
max-width
:
1024px
){
.logo
{
margin-left
:
30%
;
}
.cart-container
{
margin-top
:
0px
;
}
span
.action.nav-toggle
{
display
:
none
;
}
.page-main
>
.columns
{
margin-top
:
20px
!important
;
}
.activation
{
color
:
darkblue
;
font-size
:
14px
;
font-weight
:
600
;
margin-right
:
2px
;
margin-left
:
2px
;
}
.activation-no
{
font-size
:
10px
;
margin-right
:
2px
;
margin-left
:
2px
;
color
:
slategray
;
}
.cart-class
{
margin-left
:
0px
;
}
form
.actions-toolbar
{
margin
:
0px
!important
;
}
.checkout-cart-index
.column.main
.block
:not
(
.crosssell
)
.content
{
padding
:
0px
!important
;}
}
</style>
</style>
<div
class=
"cart-class"
>
<div
class=
"cart-class"
>
<span
class=
"activation"
>
Shopping Cart
</span>
>
<span
class=
"activation"
>
Shopping Cart
</span>
>
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/cart/coupon.phtml
View file @
422e2a5f
...
@@ -64,8 +64,6 @@ $hasCouponCode = (bool) strlen($block->getCouponCode());
...
@@ -64,8 +64,6 @@ $hasCouponCode = (bool) strlen($block->getCouponCode());
require
([
require
([
'jquery'
'jquery'
],
function
(
$
)
{
],
function
(
$
)
{
setTimeout
(
function
(){
$
(
".page.messages"
).
hide
();
},
5000
);
});
});
</script>
</script>
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/cart/noItems.phtml
View file @
422e2a5f
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
/** @var $block \Magento\Checkout\Block\Cart */
/** @var $block \Magento\Checkout\Block\Cart */
?>
?>
<div
class=
"cart-empty"
>
<div
class=
"cart-empty"
style=
"min-height: 500px;"
>
<?=
$block
->
getChildHtml
(
'checkout_cart_empty_widget'
)
?>
<?=
$block
->
getChildHtml
(
'checkout_cart_empty_widget'
)
?>
<div
class=
"empty-img"
><img
src=
"
<?=
$block
->
getViewFileUrl
(
'Magento_Checkout::images/empty-cart.svg'
);
?>
"
/></div>
<div
class=
"empty-img"
><img
src=
"
<?=
$block
->
getViewFileUrl
(
'Magento_Checkout::images/empty-cart.svg'
);
?>
"
/></div>
<p
class=
"empty-message"
>
<?=
$block
->
escapeHtml
(
__
(
'You shopping cart is currently empty.'
))
?>
</p>
<p
class=
"empty-message"
>
<?=
$block
->
escapeHtml
(
__
(
'You shopping cart is currently empty.'
))
?>
</p>
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/footer.phtml
View file @
422e2a5f
<style>
<style>
.cat-footer
{
.cat-footer
{
border-top
:
1px
solid
#1b1b1b
;
border-top
:
1px
solid
rgba
(
var
(
--base-color
),
var
(
--divider-alpha
,
.1
))
;
width
:
100%
;
width
:
100%
;
margin-top
:
5px
;
margin-top
:
5px
;
}
}
...
@@ -14,7 +14,6 @@
...
@@ -14,7 +14,6 @@
margin-left
:
10px
;
margin-left
:
10px
;
font-size
:
14px
;
font-size
:
14px
;
}
}
</style>
</style>
<div
class=
"cat-footer"
>
<div
class=
"cat-footer"
>
<div
class=
"cat-footer-tk"
>
<div
class=
"cat-footer-tk"
>
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/onepage.phtml
View file @
422e2a5f
...
@@ -4,371 +4,102 @@
...
@@ -4,371 +4,102 @@
* See COPYING.txt for license details.
* See COPYING.txt for license details.
*/
*/
/** @var $block \Magento\Checkout\Block\Onepage */
/** @var $block \Magento\Checkout\Block\Onepage */
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
?>
?>
<style
type=
"text/css"
>
.checkout-index-index
{
font-family
:
'Outfit-Regular'
,
sans-serif
;
}
.header.content
.logo
:after
{
content
:
''
;
display
:
inline-block
;
width
:
1px
;
height
:
30px
;
margin-left
:
10px
;
vertical-align
:
middle
;
-webkit-transform
:
rotate
(
30deg
);
transform
:
rotate
(
30deg
);
position
:
relative
;
top
:
0px
;
left
:
8px
;
}
.header.content
.secure-wrapper
{
display
:
inline-block
;
margin-left
:
10px
;
font-size
:
12px
;
color
:
#83b293
;
opacity
:
1
;
width
:
unset
;
}
.header.content
.secure-wrapper
.iconfont.icon-safepay
{
font-family
:
"iconfont"
!important
;
font-size
:
16px
;
font-style
:
normal
;
-webkit-font-smoothing
:
antialiased
;
color
:
#ffffff
;
background
:
#83b293
;
padding
:
8px
;
border-radius
:
50%
;
}
.header.content
.secure-wrapper
em
{
padding-top
:
36px
;
position
:
relative
;
top
:
2px
;
left
:
5px
;
font-size
:
20px
;
font-style
:
normal
;
}
.header.content
.secure-wrapper
.icon-safepay
:before
{
content
:
"\e644"
;
}
.checkout-index-index
footer
.modal-footer
{
margin-top
:
unset
;}
.header.content
{
height
:
60px
;
padding-top
:
10px
;
padding-bottom
:
10px
;}
@media
(
min-width
:
640px
){
.header.content
{
padding-top
:
15px
!important
;
margin-bottom
:
0px
!important
;}
}
@media
(
min-width
:
1024px
){
<style>
li
#payment
{
main
#maincontent
{
margin-top
:
-9%
;
max-width
:
80%
;
}
width
:
80%
;
margin-left
:
18%
;
}
}
@media
(
max-width
:
639.98px
){
.page-layout-checkout
.header.content
{
.header.content
{
padding-top
:
15px
!important
;
margin-bottom
:
0px
!important
;}
margin-top
:
2%
;
.page-layout-checkout
.header.content
{
justify-content
:
unset
;
gap
:
unset
;}
.header.content
.secure-wrapper
{
margin-left
:
-30px
;
margin-top
:
5px
;}
.header.content
.secure-wrapper
.iconfont.icon-safepay
{
padding
:
5px
!important
;}
.header.content
.secure-wrapper
em
{
top
:
unset
!important
;
font-size
:
16px
!important
;}
.header.content
.logo
:after
{
left
:
5px
;}
.header.content
.logo
img
{
max-width
:
60%
;}
.payment-method-note
{
font-size
:
12px
;}
}
}
.cat-footer
{
.opc
>
li
{
padding
:
0
;
padding-bottom
:
20px
;}
width
:
80%
!important
;
#maincontent
{
background
:
#f2f2f2
;}
.page-title-wrapper
{
display
:
none
;}
#opc-sidebar
{
border
:
1px
solid
#d4d4d4
;
background
:
#fff
;
font-size
:
16px
;
}
}
.opc-block-summary
{
.cat-footer-tk
{
background
:
#f9f9f9
;
margin-left
:
0px
!important
;
padding
:
15px
;
}
}
.action.action-auth-toggle
{
.opc
.actions-toolbar
{
background
:
none
;
justify-content
:
center
!important
;
color
:
#000
;
text-decoration
:
underline
!important
;
line-height
:
30px
;
font-family
:
Outfit-Regular
;
font-weight
:
300
;
font-size
:
12px
;
text-transform
:
uppercase
;
z-index
:
1
;
}
}
.opc
.step-title
,
.opc
.field-select-billing
.label
{
</style>
font-weight
:
600
;
<style>
a
.logo
>
img
{
margin-top
:
5%
;
width
:
155px
;
height
:
auto
;
}
.cart-class
{
margin-top
:
3%
;
margin-left
:
0px
!important
;
margin-bottom
:
-2%
!important
;
}
.activation
{
font-size
:
20px
;
font-size
:
20px
;
cursor
:
pointer
;
font-width
:
600
;
background
:
#eeeeee
;
margin-right
:
10px
;
padding
:
15px
;
margin-left
:
10px
;
}
.label
{
color
:
#555
;
font-size
:
13px
;
}
.table-checkout-shipping-method
tr
.row
{
/*border: 1px solid #1979c3;*/
box-shadow
:
0
2px
8px
rgb
(
56
77
108
/
40%
);
line-height
:
20px
;
display
:
block
;
padding
:
0
20px
;
margin-bottom
:
10px
;
}
/*table tbody:last-child tr:last-child{*/
/* border-bottom: 1px solid #1979c3;*/
/*}*/
a
[
href
^=
"tel:"
]
{
color
:
#666666
;
}
.field.addresses
{
color
:
#666666
;
font-size
:
14px
;
}
.field
._with-tooltip
input
{
width
:
100%
;
}
.checkout-container
.action.primary
,
.checkout-container
action
.secondary
{
vertical-align
:
middle
;
-webkit-transform
:
perspective
(
1px
)
translateZ
(
0
);
transform
:
perspective
(
1px
)
translateZ
(
0
);
box-shadow
:
0
0
1px
rgb
(
0
0
0
/
0%
);
border-radius
:
0px
;
background-color
:
#222222
;
box-shadow
:
none
;
color
:
#ffffff
;
display
:
inline-block
;
font-family
:
'Outfit'
,
sans-serif
;
font-weight
:
normal
;
padding
:
12px
50px
;
line-height
:
1
;
text-shadow
:
none
;
text-transform
:
capitalize
;
white-space
:
nowrap
;
font-size
:
13px
;
border-radius
:
2px
;
border
:
2px
solid
#222222
;
background-image
:
none
;
text-align
:
center
;
border
:
none
;
text-transform
:
uppercase
;
font-weight
:
normal
!important
;
transition
:
all
0.4s
ease
;
-webkit-transition
:
all
0.4s
ease
;
}
input
:not
([
type
]),
input
[
type
=
"text"
],
input
[
type
=
"password"
],
input
[
type
=
"date"
],
input
[
type
=
"datetime"
],
input
[
type
=
"datetime-local"
],
input
[
type
=
"month"
],
input
[
type
=
"week"
],
#maincontent
input
[
type
=
"email"
],
input
[
type
=
"number"
],
input
[
type
=
"search"
],
input
[
type
=
"tel"
],
input
[
type
=
"time"
],
input
[
type
=
"url"
],
input
[
type
=
"color"
],
textarea
{
border
:
1px
solid
#e1e1e1
;
height
:
40px
;
padding
:
5px
;
border-radius
:
3px
;
box-shadow
:
none
;
}
select
{
background
:
#ffffff
;
background-clip
:
padding-box
;
border
:
1px
solid
#c2c2c2
;
border-radius
:
1px
;
font-family
:
'Open Sans'
,
'Helvetica Neue'
,
Helvetica
,
Arial
,
sans-serif
;
font-size
:
14px
;
height
:
32px
;
line-height
:
1.42857143
;
padding
:
5px
10px
4px
;
vertical-align
:
baseline
;
width
:
100%
;
box-sizing
:
border-box
;
}
}
.product-item-details
{
.activation-no
{
color
:
#666666
;
font-size
:
14px
;
font-size
:
14px
;
margin-right
:
10px
;
margin-left
:
10px
;
color
:
#1b1b1b
;
}
}
.shipping-address-item.selected-item
{
border
:
1px
solid
#1979c3
;
}
.shipping-address-item
:hover
{
box-shadow
:
0
2px
8px
rgb
(
56
77
108
/
20%
);
}
.shipping-address-item.selected-item
:hover
{
box-shadow
:
0
2px
8px
rgb
(
56
77
108
/
40%
);
}
button
.action.secondary
{
background
:
#000000
;
}
cc
.checkout-payment-method
.opc-payment-additional.discount-code
{
.opc-progress-bar
{
display
:
none
!important
;
}
}
.opc-block-summary
.payment-option
.form-discount
.actions-toolbar
.action
{
background
:
#000000
;
height
:
38px
;
}
.actions-toolbar
.secondary
a
.action.remind
span
{
font-size
:
14px
;
font-family
:
Outfit-Regular
;
color
:
#000000
;
}
.opc
.checkout-shipping-address
{
padding-bottom
:
20px
;
}
table
.table-checkout-shipping-method
{
border-collapse
:
separate
;
border-spacing
:
5px
10px
;
}
.content.minicart-items
{
display
:
block
!important
;
}
.opc-summary-wrapper
.shipping-information
{
display
:
none
;
}
.field.choice
>[
type
=
"radio"
],
.field.choice
>[
type
=
"checkbox"
]
{
margin-top
:
4px
;
}
.payment-method
{
background
:
#f9f9f9
;
padding
:
10px
20px
;
margin-bottom
:
20px
;
}
.payment-method
._active
{
border
:
1px
solid
#1979c3
;
}
.checkout-billing-address
{
font-size
:
14px
;
color
:
#666666
;
}
.authentication-wrapper
{
float
:
none
;
font-size
:
13px
;
color
:
#666666
;
}
.totals.shipping.excl
.label
{
color
:
unset
;
font-size
:
unset
;
}
.totals.shipping.incl
.label
{
color
:
unset
;
font-size
:
unset
;
}
@media
(
min-width
:
1024px
)
{
.checkout-container
{
/*width: 60%;*/
margin
:
0
auto
;
background
:
#ffffff
;
padding
:
20px
;
}
}
.teliphone_number
{
width
:
100%
!important
;
;
}
@media
(
min-width
:
1024px
){
.page-title-wrapper
~
.columns
{
margin-top
:
0
;
}
.opc-sidebar.modal-custom
.modal-content
{
padding
:
0
;
}
.opc-summary-wrapper
.actions-toolbar-trigger
{
width
:
90%
;
margin
:
20px
auto
;
}
.opc-summary-wrapper
.button.action.primary
{
vertical-align
:
middle
;
-webkit-transform
:
perspective
(
1px
)
translateZ
(
0
);
transform
:
perspective
(
1px
)
translateZ
(
0
);
box-shadow
:
0
0
1px
rgb
(
0
0
0
/
0%
);
border-radius
:
0px
;
box-shadow
:
none
;
color
:
#ffffff
;
display
:
inline-block
;
font-family
:
'Outfit'
,
sans-serif
;
font-weight
:
normal
;
padding
:
12px
50px
;
line-height
:
1
;
text-shadow
:
none
;
text-transform
:
capitalize
;
white-space
:
nowrap
;
font-size
:
13px
;
border-radius
:
2px
;
border
:
2px
solid
#222222
;
background-image
:
none
;
text-align
:
center
;
border
:
none
;
text-transform
:
uppercase
;
font-weight
:
normal
!important
;
transition
:
all
0.4s
ease
;
-webkit-transition
:
all
0.4s
ease
;
width
:
100%
;
height
:
50px
;
background
:
#ffa800
;
font-size
:
20px
;
}
.opc-progress-bar
{
justify-content
:
center
;
font-size
:
22px
;
padding
:
20px
0
;
}
@media
(
max-width
:
1024px
){
.action.action-auth-toggle
{
.logo
{
margin
:
0
;
margin-left
:
30%
;
padding
:
0
;
}
}
.cart-container
{
#opc-sidebar
{
margin-top
:
0px
;
float
:
right
;
width
:
370px
;
}
}
}
span
.action.nav-toggle
{
@media
(
max-width
:
767.98px
){
display
:
none
;
.page-main
>
.columns
{
margin-top
:
0
;}
#maincontent
{
background
:
#ffffff
;}
.opc-estimated-wrapper
{
background
:
#eeeeee
;}
.opc-progress-bar
{
margin-top
:
100px
;
}
}
#opc-sidebar
{
.page-main
>
.columns
{
margin-top
:
-5%
;
margin-top
:
20px
!important
;
}
}
}
.activation
{
@media
(
max-width
:
639.98px
){
color
:
darkblue
;
.header.content
{
padding-top
:
15px
!important
;
margin-bottom
:
0px
!important
;}
font-size
:
14px
;
.page-layout-checkout
.header.content
{
justify-content
:
unset
;
gap
:
unset
;}
font-weight
:
600
;
.header.content
.secure-wrapper
{
margin-left
:
-30px
;
margin-top
:
5px
;}
margin-right
:
2px
;
.header.content
.secure-wrapper
.iconfont.icon-safepay
{
padding
:
5px
!important
;}
margin-left
:
2px
;
.header.content
.secure-wrapper
em
{
top
:
unset
!important
;
font-size
:
16px
!important
;}
.header.content
.logo
:after
{
left
:
5px
;}
.header.content
.logo
img
{
max-width
:
60%
;}
.opc-progress-bar-item
:before
{
height
:
3px
;
}
}
.opc-progress-bar-item
>
span
{
font-size
:
12px
;
padding-top
:
35px
;}
.activation-no
{
.opc-progress-bar-item
>
span
:before
,
.opc-progress-bar-item
>
span
:after
{
width
:
26px
;
height
:
26px
;
margin-left
:
-13px
;
top
:
6px
;}
font-size
:
10px
;
.opc-progress-bar-item
>
span
:after
{
font-size
:
1rem
;}
margin-right
:
2px
;
margin-left
:
2px
;
.opc
.actions-toolbar
{
color
:
slategray
;
position
:
fixed
;
right
:
0
;
bottom
:
0
;
left
:
0
;
background
:
#ffffff
;
z-index
:
11
;
padding
:
10px
0
;
margin-bottom
:
0
;
}
}
.checkout-container
.actions-toolbar
.action.continue.primary
{
.cart-class
{
width
:
96%
;
margin-left
:
0px
;
margin
:
0
auto
;
background
:
#ff9600
;
height
:
48px
;
font-size
:
20px
;
display
:
flex
;
}
}
.checkout-container
.actions-toolbar
.action.continue.primary
.secure
img
{
form
.actions-toolbar
{
height
:
28px
;
margin
:
0px
!important
;
vertical-align
:
bottom
;
margin-right
:
15px
;
}
}
.checkout-cart-index
.column.main
.block
:not
(
.crosssell
)
.content
{
padding
:
0px
!important
;}
}
}
</style>
</style>
<div
class=
"cart-class"
>
<span
class=
"activation"
>
Cart
</span>
>
<span
class=
"activation"
>
Shipping
</span>
>
<span
class=
"activation-no"
id=
"payment-bar"
>
Payment
</span>
>
<span
class=
"activation-no"
>
Complete
</span>
</div>
<div
id=
"checkout"
data-bind=
"scope:'checkout'"
class=
"checkout-container"
>
<div
id=
"checkout"
data-bind=
"scope:'checkout'"
class=
"checkout-container"
>
<div
id=
"checkout-loader"
data-role=
"checkout-loader"
class=
"loading-mask"
data-mage-init=
'{"checkoutLoader": {}}'
>
<div
id=
"checkout-loader"
data-role=
"checkout-loader"
class=
"loading-mask"
data-mage-init=
'{"checkoutLoader": {}}'
>
<div
class=
"loader"
>
<div
class=
"loader"
>
...
@@ -406,3 +137,15 @@ script;
...
@@ -406,3 +137,15 @@ script;
?>
?>
<?=
/* @noEscape */
$secureRenderer
->
renderTag
(
'script'
,
[],
$scriptString
,
false
)
?>
<?=
/* @noEscape */
$secureRenderer
->
renderTag
(
'script'
,
[],
$scriptString
,
false
)
?>
</div>
</div>
<script>
require
([
'jquery'
],
function
(
$
)
{
setTimeout
(
function
(){
var
payment
=
$
(
location
).
attr
(
"hash"
);
if
(
$
.
trim
(
"#payment"
)
==
$
.
trim
(
payment
)){
$
(
"#payment-bar"
).
removeClass
(
"activation-no"
).
addClass
(
"activation"
);
}
},
3000
);
});
</script>
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/success.phtml
View file @
422e2a5f
...
@@ -6,6 +6,21 @@
...
@@ -6,6 +6,21 @@
?>
?>
<?php
/** @var $block \Magento\Checkout\Block\Onepage\Success */
?>
<?php
/** @var $block \Magento\Checkout\Block\Onepage\Success */
?>
<style>
main
#maincontent
{
width
:
80%
;
}
.cat-footer
{
width
:
80%
!important
;
}
.cat-footer-tk
{
margin-left
:
0px
!important
;
}
.opc
.actions-toolbar
{
justify-content
:
center
!important
;
}
</style>
<div
class=
"checkout-success"
>
<div
class=
"checkout-success"
>
<?php
if
(
$block
->
getOrderId
())
:?>
<?php
if
(
$block
->
getOrderId
())
:?>
<?
php
if
(
$block
->
getCanViewOrder
())
:?>
<?
php
if
(
$block
->
getCanViewOrder
())
:?>
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/progress-bar.html
0 → 100644
View file @
422e2a5f
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<ul
class=
"opc-progress-bar"
>
<!-- ko foreach: { data: steps().sort(sortItems), as: 'item' } -->
<li
class=
"opc-progress-bar-item"
data-bind=
"css: item.isVisible() ? '_active' : ($parent.isProcessed(item) ? '_complete' : '')"
>
<span
data-bind=
"i18n: item.title, click: $parent.navigateTo"
></span>
</li>
<!-- /ko -->
</ul>
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/shipping.html
View file @
422e2a5f
...
@@ -72,8 +72,7 @@
...
@@ -72,8 +72,7 @@
<div
class=
"actions-toolbar"
id=
"shipping-method-buttons-container"
>
<div
class=
"actions-toolbar"
id=
"shipping-method-buttons-container"
>
<div
class=
"primary"
>
<div
class=
"primary"
>
<button
data-role=
"opc-continue"
type=
"submit"
class=
"button action continue primary"
>
<button
data-role=
"opc-continue"
type=
"submit"
class=
"button action continue primary"
>
<span
data-v-20221108=
""
class=
"secure"
><img
data-v-b14bd780=
""
alt=
""
src=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAA3CAYAAAClxaIBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMyODNDODA2MkIwNTExRUNCNUFCRkFGMzY4RjkyOTdCIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMyODNDODA3MkIwNTExRUNCNUFCRkFGMzY4RjkyOTdCIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzI4M0M4MDQyQjA1MTFFQ0I1QUJGQUYzNjhGOTI5N0IiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzI4M0M4MDUyQjA1MTFFQ0I1QUJGQUYzNjhGOTI5N0IiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7niMRCAAAEKklEQVR42tSaW0gVQRjHt01SwiyTJKuHiugiEVIUVhBlPRRBN7ppUCT2EGVB0A2SoB6iJ596iPJBLJPM7B5SdDXNyjIxy0iLIsEoNYuu1vb/8DuwnM7OzszZPR7/8FNxZ3b2f+ab2ZlvTj/LsgyPlQhWgvlgNkgAXaAS3ABnQIenLZIJj0gGB8EHSyy6fgCM9KptL24yCOwFbZaaPnG9xN40EQ+2gxYrPL0DO/l+Ws/ST2NMDAM5YBMY42Fkt4BCUADeq1RUMTELrAVZIMnwT1/AKTZU5YWJiWAxWAOmG5HXA1AKroM6WRNxIJ1ZAqaCWKP3RQ9ZDS6AGnAf/LCbSMPvuWAeSAXjjOhXM2jk984tMvEUf0wx+q7qTX6b9mV9Nu2x1Uf1g0z8jsYQAY9AJq+/RPpp8rwcbQYaeEovAfEu5btMz1eU4RugN/Y62/9GuNRpj8GPzigx8Bjs5hebXaNc6nWQidYoMbCReyLUWk2k92TiXRQYoPB54XB9iEv9t6bqitGHMbBdYIBkCq79okgyOZxae8nAYd62Cgeu4NqbQE+08lo+0gbOgWKJsq9dTHSQib/gVYRNvAT7JctWOQx40nN7vNVFeI+QqVj+l8O1WruJ2giGUR7oVqgzQ7BIrbGnbAaCdstfPQVHFBIA48FVrhdKTYGyMezoG7taqPnpdvMsskC02gRbJO+5A2xw2efcCzUH39U0cAtM40brBeXyJe9ZIGGAdDNUBjBNMTQucpfb75HvUL5cMoTOC8LHru8gySl51ijx8NVghcND0Nh6EqLOOAkD1yQNkM7Z6wa/0ktdQqcMzARnHcrQ2CoPCqtKiffQNZCssNcvESWUJwvcD1WYWWptveCWnqxQ6AFSJ+d/HXuigfM7obReYcAXcm9cAV8F5S6D4YrZlqL/dqMhPplMwXh4CHIke4PGToLgepFiDwQ0SSYrPgC8kZiZkl1MjBVcy9c0UKGS2t8qcUOahVZrpOKzNQ2QMlRMxEqc+AR65ZCCgbQwDNzmKVzpkGWbwovvpISBATxOdJUOTFUT/UGzgpHzLibKwzBwTHRv0f71D8iVnPZoihwNrjpc3wPGai7fKS+2S5z4dw+DYsU11eWg+qlhjANLZvKQMTEYdCgaKQtaE+nqksyEESOTOgeb+RxNNrRIR/kwJFkzjGg3ly13jiQ/PR63IqtFfpxjm7zsiITy/DzHTuHMiG6IyIjCNkulgs5hfBqvdON8MEBb5DmqlUyNhqgnlvlgoMnoOTM3ImGCVKGYAHMTpVEzdE+tzDAapi3iKg8MPDN6ztG1k9pmmA9AX8CiQ/w2zfp32EB4ZyQefXGKshn1itPoSSuKvrRlX/UWShrY52G7npoIkMvJrVD6CJZ43aYfJogJ4HSQgRMgxY/2dF52KloOlnKy7YJfjfwTYAD0328CQiS8EQAAAABJRU5ErkJggg=="
></span>
<span
translate=
"'Next'"
/>
<span
translate=
"'PLACE ORDER'"
style=
"vertical-align: super;"
/>
</button>
</button>
</div>
</div>
</div>
</div>
...
...
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