<?xml version="1.0"?>
<!--
/**
 * Copyright © 2015 Magento. 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">
    <body>

        <referenceBlock name="mp.productlabels.listing.label" remove="true"/>

        <move element="checkout.cart.form.before" destination="checkout.cart.container" before="cart.summary"/>
        <move element="checkout.cart.form" destination="checkout.cart.container" after="cart.summary"/>
        <move element="checkout.cart.widget" destination="checkout.cart.container" after="checkout.cart.form"/>
        <move element="checkout.cart.shipping" destination="cart.summary" after="checkout.cart.summary.title"/>
        <move element="checkout.cart.coupon" destination="cart.summary"/>
        <move element="checkout.cart.totals.container" destination="cart.summary"/>
        <move element="checkout.cart.methods.bottom" destination="cart.summary"/>
		<!--<referenceBlock name="checkout.cart.crosssell">
            <action method="setItemLimit">
                <argument name="type" xsi:type="string">crosssell</argument>
                <argument name="limit" xsi:type="string">2</argument>
            </action>
			<arguments>
				<argument name="type" xsi:type="string">crosssell</argument>
				<argument name="limit" xsi:type="string">2</argument>
			</arguments>
        </referenceBlock>-->



        <referenceBlock name="breadcrumbs">
            <action method="addCrumb">
                <argument name="crumbName" xsi:type="string">home</argument>
                <argument name="crumbInfo" xsi:type="array">
                    <item name="title" xsi:type="string">Home</item>
                    <item name="label" xsi:type="string">Home</item>
                    <!-- <item name="link" xsi:type="string">/</item> -->
                    <item name="link" xsi:type="string">{{baseUrl}}</item>
                </argument>
            </action>
            <action method="addCrumb">
                <argument name="crumbName" xsi:type="string">Shopping Cart</argument>
                <argument name="crumbInfo" xsi:type="array">
                    <item name="title" xsi:type="string">Shopping Cart</item>
                    <item name="label" xsi:type="string">Shopping Cart</item>
                </argument>
            </action>
        </referenceBlock>

         <referenceBlock name="content">
            <block class="Magento\Framework\View\Element\Template" name="mp.productlabels.listing.label.cart.data" template="Mageplaza_ProductLabels::product/listing-checkout.phtml" after="-" ifconfig="productlabels/general/enabled"/>
        </referenceBlock>

        <referenceContainer name="checkout.cart.methods">
            <block class="Magento\Checkout\Block\Cart" name="checkout.cart.methods.continueshopping" template="Magento_Checkout::cart/continueshopping.phtml"/>
        </referenceContainer>
        <referenceBlock name="checkout.cart.methods.multishipping" remove="true" />

        <referenceBlock name="checkout.cart.methods.onepage.bottom">
            <arguments>
                <argument name="checkout_view_model" xsi:type="object">
                    Codilar\Checkout\ViewModel\CheckoutViewModel
                </argument>
            </arguments>
        </referenceBlock>
    </body>
</page>
