Skip to content

Commit 5cb1677

Browse files
authored
ENGCOM-4526: Multishipping checkout agreements now are the same as default checkout agreements #21778
2 parents 19e9ada + 8a52a41 commit 5cb1677

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

app/code/Magento/CheckoutAgreements/view/frontend/layout/multishipping_checkout_overview.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
99
<body>
1010
<referenceBlock name="checkout_overview">
11-
<block class="Magento\CheckoutAgreements\Block\Agreements" name="checkout.multishipping.agreements" as="agreements" template="Magento_CheckoutAgreements::multishipping_agreements.phtml"/>
11+
<block class="Magento\CheckoutAgreements\Block\Agreements" name="checkout.multishipping.agreements" as="agreements" template="Magento_CheckoutAgreements::additional_agreements.phtml"/>
1212
</referenceBlock>
1313
</body>
1414
</page>

app/code/Magento/CheckoutAgreements/view/frontend/templates/multishipping_agreements.phtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
// @deprecated
78
// @codingStandardsIgnoreFile
89

910
?>

app/code/Magento/Multishipping/view/frontend/web/js/overview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ define([
1515
opacity: 0.5, // CSS opacity for the 'Place Order' button when it's clicked and then disabled.
1616
pleaseWaitLoader: 'span.please-wait', // 'Submitting order information...' Ajax loader.
1717
placeOrderSubmit: 'button[type="submit"]', // The 'Place Order' button.
18-
agreements: '#checkout-agreements' // Container for all of the checkout agreements and terms/conditions
18+
agreements: '.checkout-agreements' // Container for all of the checkout agreements and terms/conditions
1919
},
2020

2121
/**

dev/tests/functional/tests/app/Magento/CheckoutAgreements/Test/Page/MultishippingCheckoutOverview.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/pages.xsd">
99
<page name="MultishippingCheckoutOverview" mca="multishipping/checkout/overview" module="Magento_Checkout">
10-
<block name="agreementReview" class="Magento\CheckoutAgreements\Test\Block\Multishipping\MultishippingAgreementReview" locator="#checkout-agreements" strategy="css selector"/>
10+
<block name="agreementReview" class="Magento\CheckoutAgreements\Test\Block\Multishipping\MultishippingAgreementReview" locator=".checkout-agreements" strategy="css selector"/>
1111
</page>
1212
</config>

0 commit comments

Comments
 (0)