![]() 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/vendor/magento/module-bundle/etc/ |
<?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="Magento\Bundle\Api\ProductOptionTypeListInterface" type="Magento\Bundle\Model\OptionTypeList" /> <preference for="Magento\Bundle\Api\Data\OptionTypeInterface" type="Magento\Bundle\Model\Source\Option\Type" /> <preference for="Magento\Bundle\Api\ProductLinkManagementInterface" type="Magento\Bundle\Model\LinkManagement" /> <preference for="Magento\Bundle\Api\Data\LinkInterface" type="Magento\Bundle\Model\Link" /> <preference for="Magento\Bundle\Api\ProductOptionRepositoryInterface" type="Magento\Bundle\Model\OptionRepository" /> <preference for="Magento\Bundle\Api\ProductOptionManagementInterface" type="Magento\Bundle\Model\OptionManagement" /> <preference for="Magento\Bundle\Api\Data\OptionInterface" type="Magento\Bundle\Model\Option" /> <preference for="Magento\Bundle\Api\Data\BundleOptionInterface" type="Magento\Bundle\Model\BundleOption" /> <preference for="Magento\Bundle\Pricing\Adjustment\SelectionPriceListProviderInterface" type="Magento\Bundle\Pricing\Adjustment\DefaultSelectionPriceListProvider" /> <type name="Magento\Bundle\Model\Source\Option\Type"> <arguments> <argument name="options" xsi:type="array"> <item name="select" xsi:type="string">Drop-down</item> <item name="radio" xsi:type="string">Radio Buttons</item> <item name="checkbox" xsi:type="string">Checkbox</item> <item name="multi" xsi:type="string">Multiple Select</item> </argument> </arguments> </type> <type name="Magento\Catalog\Model\Product\CatalogPrice"> <arguments> <argument name="priceModelPool" xsi:type="array"> <item name="bundle" xsi:type="string">Magento\Bundle\Model\Product\CatalogPrice</item> </argument> </arguments> </type> <virtualType name="Magento\Bundle\Pricing\Adjustment\Collection" type="Magento\Framework\Pricing\Adjustment\Collection"> </virtualType> <preference for="Magento\Bundle\Pricing\Adjustment\BundleCalculatorInterface" type="Magento\Bundle\Pricing\Adjustment\Calculator" /> <virtualType name="Magento\Bundle\Pricing\PriceInfo" type="Magento\Framework\Pricing\PriceInfo\Base"> <arguments> <argument name="adjustmentCollection" xsi:type="object">Magento\Bundle\Pricing\Adjustment\Collection</argument> </arguments> </virtualType> <virtualType name="Magento\Bundle\Pricing\Price\Pool" type="Magento\Framework\Pricing\Price\Pool"> <arguments> <argument name="prices" xsi:type="array"> <item name="regular_price" xsi:type="string">Magento\Bundle\Pricing\Price\BundleRegularPrice</item> <item name="final_price" xsi:type="string">Magento\Bundle\Pricing\Price\FinalPrice</item> <item name="tier_price" xsi:type="string">Magento\Bundle\Pricing\Price\TierPrice</item> <item name="special_price" xsi:type="string">Magento\Bundle\Pricing\Price\SpecialPrice</item> <item name="custom_option_price" xsi:type="string">Magento\Catalog\Pricing\Price\CustomOptionPrice</item> <item name="base_price" xsi:type="string">Magento\Catalog\Pricing\Price\BasePrice</item> <item name="configured_price" xsi:type="string">Magento\Bundle\Pricing\Price\ConfiguredPrice</item> <item name="configured_regular_price" xsi:type="string">Magento\Bundle\Pricing\Price\ConfiguredRegularPrice</item> <item name="bundle_option" xsi:type="string">Magento\Bundle\Pricing\Price\BundleOptionPrice</item> <item name="bundle_option_regular_price" xsi:type="string">Magento\Bundle\Pricing\Price\BundleOptionRegularPrice</item> <item name="catalog_rule_price" xsi:type="string">Magento\CatalogRule\Pricing\Price\CatalogRulePrice</item> </argument> </arguments> </virtualType> <virtualType name="Magento\Bundle\Pricing\Price\Collection" type="Magento\Framework\Pricing\Price\Collection"> <arguments> <argument name="pool" xsi:type="object">Magento\Bundle\Pricing\Price\Pool</argument> </arguments> </virtualType> <type name="Magento\Framework\Pricing\PriceInfo\Factory"> <arguments> <argument name="types" xsi:type="array"> <item name="bundle" xsi:type="array"> <item name="infoClass" xsi:type="string">Magento\Bundle\Pricing\PriceInfo</item> <item name="prices" xsi:type="string">Magento\Bundle\Pricing\Price\Collection</item> </item> </argument> </arguments> </type> <type name="Magento\Bundle\Pricing\Price\BundleRegularPrice"> <arguments> <argument name="calculator" xsi:type="object">Magento\Bundle\Pricing\Adjustment\BundleCalculatorInterface</argument> </arguments> </type> <type name="Magento\Bundle\Pricing\Price\FinalPrice"> <arguments> <argument name="calculator" xsi:type="object">Magento\Bundle\Pricing\Adjustment\BundleCalculatorInterface</argument> </arguments> </type> <type name="Magento\Catalog\Pricing\Price\ConfiguredPriceSelection"> <arguments> <argument name="calculator" xsi:type="object">Magento\Bundle\Pricing\Adjustment\BundleCalculatorInterface</argument> </arguments> </type> <type name="Magento\Catalog\Model\Product\Attribute\Backend\Price"> <plugin name="bundle" type="Magento\Bundle\Model\Plugin\PriceBackend" sortOrder="100" /> </type> <type name="Magento\Catalog\Model\Product"> <plugin name="add_bundle_parent_identities" type="Magento\Bundle\Model\Plugin\ProductIdentitiesExtender" sortOrder="100" /> </type> <type name="Magento\Sales\Model\Order\Item"> <plugin name="bundle" type="Magento\Bundle\Model\Sales\Order\Plugin\Item" sortOrder="100" /> </type> <type name="Magento\Framework\EntityManager\Operation\ExtensionPool"> <arguments> <argument name="extensionActions" xsi:type="array"> <item name="Magento\Catalog\Api\Data\ProductInterface" xsi:type="array"> <item name="create" xsi:type="array"> <item name="create_bundle_options" xsi:type="string">Magento\Bundle\Model\Product\SaveHandler</item> </item> <item name="update" xsi:type="array"> <item name="update_bundle_options" xsi:type="string">Magento\Bundle\Model\Product\SaveHandler</item> </item> <item name="read" xsi:type="array"> <item name="read_bundle_options" xsi:type="string">Magento\Bundle\Model\Product\ReadHandler</item> </item> </item> </argument> </arguments> </type> <type name="Magento\Bundle\Model\Product\Type"> <arguments> <argument name="stockRegistry" xsi:type="object">Magento\CatalogInventory\Api\StockRegistryInterface\Proxy</argument> <argument name="stockState" xsi:type="object">Magento\CatalogInventory\Api\StockStateInterface\Proxy</argument> </arguments> </type> <type name="Magento\Catalog\Helper\Product"> <arguments> <argument name="reindexPriceIndexerData" xsi:type="array"> <item name="byDataResult" xsi:type="array"> <item name="is_relations_changed" xsi:type="string">is_relations_changed</item> </item> </argument> </arguments> </type> <type name="Magento\Quote\Model\Quote\Item\ToOrderItem"> <plugin name="append_bundle_data_to_order" type="Magento\Bundle\Model\Plugin\QuoteItem"/> </type> <type name="Magento\Quote\Model\Quote\Item\Repository"> <arguments> <argument name="cartItemProcessors" xsi:type="array"> <item name="bundle" xsi:type="object">\Magento\Bundle\Model\CartItemProcessor\Proxy</item> </argument> </arguments> </type> <type name="Magento\Sales\Api\OrderItemRepositoryInterface"> <arguments> <argument name="processorPool" xsi:type="array"> <item name="bundle" xsi:type="object">Magento\Bundle\Model\ProductOptionProcessor</item> </argument> </arguments> </type> <type name="Magento\Sales\Model\Order\ProductOption"> <arguments> <argument name="processorPool" xsi:type="array"> <item name="bundle" xsi:type="object">Magento\Bundle\Model\ProductOptionProcessor</item> </argument> </arguments> </type> <type name="Magento\Bundle\Ui\DataProvider\Product\Listing\Collector\BundlePrice"> <arguments> <argument name="excludeAdjustments" xsi:type="array"> <item name="weee" xsi:type="string">weee</item> <item name="weee_tax" xsi:type="string">weee_tax</item> </argument> </arguments> </type> <type name="Magento\Catalog\Ui\DataProvider\Product\ProductRenderCollectorComposite"> <arguments> <argument name="productProviders" xsi:type="array"> <item name="bundle_price" xsi:type="object">\Magento\Bundle\Ui\DataProvider\Product\Listing\Collector\BundlePrice</item> </argument> </arguments> </type> <type name="Magento\Catalog\Model\Product\Price\SpecialPriceStorage"> <arguments> <argument name="allowedProductTypes" xsi:type="array"> <item name="2" xsi:type="string">bundle</item> </argument> </arguments> </type> <type name="Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\BatchSizeCalculator"> <arguments> <argument name="estimators" xsi:type="array"> <item name="bundle" xsi:type="object">Magento\Catalog\Model\Indexer\Price\CompositeProductBatchSizeManagement</item> </argument> <argument name="batchSizeAdjusters" xsi:type="array"> <item name="bundle" xsi:type="object">Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\CompositeProductBatchSizeAdjuster</item> </argument> </arguments> </type> <type name="Magento\Bundle\Model\ResourceModel\Indexer\Price"> <arguments> <argument name="tableStrategy" xsi:type="object">Magento\Catalog\Model\ResourceModel\Product\Indexer\TemporaryTableStrategy</argument> <argument name="connectionName" xsi:type="string">indexer</argument> </arguments> </type> <type name="Magento\CatalogInventory\Model\Indexer\Stock\Action\Full"> <arguments> <argument name="batchRowsCount" xsi:type="array"> <item name="bundle" xsi:type="number">136</item> </argument> </arguments> </type> <type name="Magento\Framework\EntityManager\MetadataPool"> <arguments> <argument name="metadata" xsi:type="array"> <item name="Magento\Bundle\Api\Data\OptionInterface" xsi:type="array"> <item name="entityTableName" xsi:type="string">catalog_product_bundle_option</item> <item name="identifierField" xsi:type="string">option_id</item> </item> <item name="Magento\Bundle\Model\Selection" xsi:type="array"> <item name="entityTableName" xsi:type="string">catalog_product_bundle_selection</item> <item name="identifierField" xsi:type="string">selection_id</item> </item> </argument> </arguments> </type> <type name="Magento\Framework\EntityManager\HydratorPool"> <arguments> <argument name="hydrators" xsi:type="array"> <item name="Magento\Bundle\Api\Data\OptionInterface" xsi:type="string">Magento\Framework\EntityManager\AbstractModelHydrator</item> <item name="Magento\Bundle\Model\Selection" xsi:type="string">Magento\Framework\EntityManager\AbstractModelHydrator</item> </argument> </arguments> </type> <type name="Magento\SalesRule\Model\Quote\ChildrenValidationLocator"> <arguments> <argument name="productTypeChildrenValidationMap" xsi:type="array"> <item name="bundle" xsi:type="boolean">false</item> </argument> </arguments> </type> <type name="Magento\Eav\Model\Config"> <arguments> <argument name="attributesForPreload" xsi:type="array"> <item name="catalog_product" xsi:type="array"> <item name="price_type" xsi:type="string">catalog_product</item> <item name="price_view" xsi:type="string">catalog_product</item> <item name="shipment_type" xsi:type="string">catalog_product</item> <item name="sku_type" xsi:type="string">catalog_product</item> <item name="weight_type" xsi:type="string">catalog_product</item> </item> </argument> </arguments> </type> <type name="Magento\Sales\Model\Order\Shipment\ShipmentItemsValidator"> <arguments> <argument name="validators" xsi:type="array"> <item name="shipment_type" xsi:type="object">Magento\Bundle\Model\Sales\Order\Shipment\BundleShipmentTypeValidator</item> </argument> </arguments> </type> <type name="Magento\Quote\Model\Quote\Item\Option\Comparator"> <arguments> <argument name="customComparators" xsi:type="array"> <item name="bundle_selection_attributes" xsi:type="object">Magento\Bundle\Model\Quote\Item\Option\BundleSelectionAttributesComparator</item> </argument> </arguments> </type> <type name="Magento\Quote\Model\QuoteManagement"> <plugin name="update_bundle_quote_item_options" type="Magento\Bundle\Plugin\Quote\UpdateBundleQuoteItemOptions" sortOrder="10"/> </type> <type name="Magento\Bundle\Model\ProductRelationsProcessorComposite"> <arguments> <argument name="processors" xsi:type="array"> <item name="quote_recollect" xsi:type="object">Magento\Bundle\Model\QuoteRecollectProcessor</item> </argument> </arguments> </type> <type name="Magento\Bundle\Model\QuoteRecollectProcessor"> <arguments> <argument name="comparisonFieldsTypeMapper" xsi:type="array"> <item name="sku" xsi:type="string">string</item> <item name="price" xsi:type="string">float</item> <item name="price_type" xsi:type="string">string</item> <item name="qty" xsi:type="string">float</item> <item name="selection_can_change_quantity" xsi:type="string">string</item> </argument> </arguments> </type> <type name="Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\BasePriceModifier"> <arguments> <argument name="priceModifiers" xsi:type="array"> <item name="DisabledProductOptionPriceModifier" xsi:type="object">Magento\Bundle\Model\ResourceModel\Indexer\Price\DisabledProductOptionPriceModifier</item> </argument> </arguments> </type> <type name="Magento\CatalogInventory\Observer\SaveInventoryDataObserver"> <arguments> <argument name="parentItemProcessorPool" xsi:type="array"> <item name="bundle" xsi:type="object">Magento\Bundle\Model\Inventory\ParentItemProcessor</item> </argument> </arguments> </type> </config>