Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/app/design/frontend/Cnc/default/Kaliop_AddToCartModal/layout/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/app/design/frontend/Cnc/default/Kaliop_AddToCartModal/layout/add_to_cart_modal.xml
<?xml version="1.0"?>
<!--
/**
 * Copyright (c) 2020 Kaliop Digital Commerce (https://digitalcommerce.kaliop.com) All Rights Reserved.
 * https://opensource.org/licenses/OSL-3.0  Open Software License (OSL 3.0)
 * <[email protected]>
 */
-->
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/layout_generic.xsd">

    <referenceBlock name="crosssell.product.addto" remove="true"/>
    <referenceContainer name="add-to-cart-modal-container" remove="true"/>

    <container name="root">
        <container name="add-to-cart-modal-container-upsell" htmlTag="div" htmlClass="add-to-cart-modal-container">
            <block name="modal.added.item" template="Kaliop_AddToCartModal::modal/added_item.phtml">
                <arguments>
                    <argument name="added_item_view_model" xsi:type="object">
                        Kaliop\AddToCartModal\ViewModel\AddedItem
                    </argument>
                    <argument name="item_image_view_model" xsi:type="object">
                        Kaliop\AddToCartModal\ViewModel\Modal\ItemImage
                    </argument>
                </arguments>
            </block>
            <block name="modal.buttons" template="Kaliop_AddToCartModal::modal/buttons.phtml"/>
            <block class="Cnc\Checkout\Block\Cart\Upsell" name="modal.crosssell"
                   cacheable="false"
                   template="Magento_Catalog::product/list/items.phtml"
                   ifconfig="checkout/cart/crosssell_enabled">
                <arguments>
                    <argument name="type" xsi:type="string">crosssell</argument>
                    <argument name="generic_product_item_view_model"
                              xsi:type="object">Kaliop\CatalogGenericProductItem\ViewModel\Product\Item
                    </argument>
                </arguments>
                <block class="Magento\Catalog\Block\Product\ProductList\Item\Container"
                       name="modal.crosssell.product.addto"
                       as="addto">
                    <block class="Magento\Catalog\Block\Product\ProductList\Item\AddTo\Compare"
                           name="modal.crosssell.product.addto.compare" as="compare"
                           template="Magento_Catalog::product/list/addto/compare.phtml"/>
                </block>
            </block>
        </container>
    </container>
</layout>

Spamworldpro Mini