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/code/Cnc/Checkout/etc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/app/code/Cnc/Checkout/etc/di.xml
<?xml version="1.0"?>
<!--
/**
 * Copyright (c) 2019 Kaliop Digital Commerce (https://digitalcommerce.kaliop.com) All Rights Reserved.
 * https://opensource.org/licenses/OSL-3.0  Open Software License (OSL 3.0)
 * cnc_checkout_m2
 * <[email protected]>
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

    <preference for="Cnc\Checkout\Api\OrderNumberInterface" type="Cnc\Checkout\Model\OrderNumber" />
    <preference for="Cnc\Checkout\Api\DepartmentEmailInterface" type="Cnc\Checkout\Model\DepartmentEmail" />
    <preference for="Cnc\Checkout\Api\PackagingInterface" type="Cnc\Checkout\Model\Packaging" />
    <preference for="Cnc\Checkout\Api\GetAssignedSourceCodesInterface" type="Cnc\Checkout\Model\GetAssignedSourceCodes" />
    <preference for="Cnc\Checkout\Api\GetAssignedSourceCodesBySkuInterface" type="Cnc\Checkout\Model\GetAssignedSourceCodesBySku" />
    <preference for="Cnc\Checkout\Api\EstimateDeliveryInterface" type="Cnc\Checkout\Model\EstimateDelivery" />
    <preference for="Magento\Checkout\Block\Cart\LayoutProcessor" type="Cnc\Checkout\Preference\Block\Cart\LayoutProcessor" />

    <type name="Cnc\Checkout\ViewModel\Success">
        <arguments>
            <argument name="checkoutSession" xsi:type="object">Magento\Checkout\Model\Session\Proxy</argument>
        </arguments>
    </type>

    <type name="Cnc\Checkout\Model\OrderNumber">
        <arguments>
            <argument name="checkoutSession" xsi:type="object">Magento\Checkout\Model\Session\Proxy</argument>
        </arguments>
    </type>
    <type name="Cnc\Checkout\Model\Packaging">
        <arguments>
            <argument name="checkoutSession" xsi:type="object">Magento\Checkout\Model\Session\Proxy</argument>
        </arguments>
    </type>
    <type name="Cnc\Checkout\Model\DepartmentEmail">
        <arguments>
            <argument name="checkoutSession" xsi:type="object">Magento\Checkout\Model\Session\Proxy</argument>
        </arguments>
    </type>
    <type name="Magento\Checkout\Model\ShippingInformationManagement">
        <plugin name="ecombricksInventoryCheckoutPluginModelShippingInformationManagement" disabled="true"/>
        <plugin name="cnc-carriers-save-in-quote"
                type="Cnc\Checkout\Plugin\Model\ShippingInformationManagement"
                sortOrder="10"
        />
    </type>

    <type name="Magento\Quote\Model\Cart\ShippingMethodConverter">
        <plugin name="add_delivery_time_to_method" type="Cnc\Checkout\Plugin\Model\Cart\ShippingMethodConverter" disabled="false" sortOrder="30"/>
    </type>
    <type name="Magento\Quote\Model\Quote\Address\Rate">
        <plugin name="add_delivery_time_to_method_rate" type="Cnc\Checkout\Plugin\Model\Quote\Address\Rate" disabled="false" sortOrder="3"/>
    </type>

    <type name="Magento\Checkout\Model\Cart">
        <plugin name="cnc_checkout_model_cart"
                type="Cnc\Checkout\Plugin\Model\CartPlugin"
                sortOrder="10"/>
    </type>
    <preference for="Magento\Checkout\Controller\Cart\Delete" type="Cnc\Checkout\Controller\Cart\Delete"/>
    <type name="Magento\Quote\Model\Quote\Item\AbstractItem">
        <plugin name="cnc_checkuot_abstract_item_after"
                type="Cnc\Checkout\Plugin\AbstractItemPlugin"
                sortOrder="100"/>
    </type>
    <preference for="Cnc\Checkout\Api\Data\DeliveryEstimationInterface"
                type="Cnc\Checkout\Model\Data\DeliveryEstimationData"/>

    <type name="Cnc\Checkout\Model\DeliveryEstimationImporter">
        <arguments>
            <argument name="serializer" xsi:type="object">Magento\Framework\Serialize\Serializer\Json</argument>
        </arguments>
    </type>
    <type name="Cnc\Checkout\Model\EstimateDelivery">
        <arguments>
            <argument name="serializer" xsi:type="object">Magento\Framework\Serialize\Serializer\Json</argument>
        </arguments>
    </type>
    <type name="Ecombricks\InventoryQuote\Model\GuestCart\GuestShippingMethodManagement">
        <plugin name="cnc_checkout_guest_shipping_method_management_plugin"
                type="Cnc\Checkout\Plugin\GuestShippingMethodManagementPlugin"
                sortOrder="100"/>
    </type>
    <type name="Ecombricks\InventoryQuote\Model\ShippingMethodManagement">
        <plugin name="cnc_checkout_shipping_method_management_plugin"
                type="Cnc\Checkout\Plugin\ShippingMethodManagementPlugin"
                sortOrder="100"/>
    </type>
    <type name="Magento\Checkout\Block\Cart\Sidebar">
        <plugin name="cnc_checkuot_block_cart_sidebar_plugin"
                type="Cnc\Checkout\Plugin\Block\Cart\Sidebar"
                sortOrder="100"/>
    </type>

    <type name="Cnc\Checkout\Model\RecalculateCart">
        <arguments>
            <argument name="serializer" xsi:type="object">Magento\Framework\Serialize\Serializer\Json</argument>
        </arguments>
    </type>
    <type name="Ecombricks\InventoryCheckout\Plugin\Model\TotalsInformationManagement">
        <plugin name="cnc_checkout_totals_information_management"
                type="Cnc\Checkout\Plugin\TotalsInformationManagement"/>
    </type>
</config>

Spamworldpro Mini