| Current Path : /var/www/clients/client3/web2/web/vendor/magento/module-bundle/etc/frontend/ |
| Current File : /var/www/clients/client3/web2/web/vendor/magento/module-bundle/etc/frontend/di.xml |
<?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">
<type name="Magento\Catalog\Helper\Product\ConfigurationPool">
<arguments>
<argument name="instancesByType" xsi:type="array">
<item name="bundle" xsi:type="object">Magento\Bundle\Helper\Catalog\Product\Configuration</item>
</argument>
</arguments>
</type>
<type name="Magento\Catalog\Model\Product">
<plugin name="add_bundle_child_identities" type="Magento\Bundle\Model\Plugin\Frontend\ProductIdentitiesExtender" sortOrder="100"/>
</type>
<type name="Magento\Catalog\Model\Product\Type\AbstractType">
<plugin name="add_to_cart_single_option" type="Magento\Bundle\Plugin\Catalog\Model\Product\Type\AbstractType" />
</type>
<type name="Magento\Catalog\ViewModel\Product\OptionsData">
<plugin name="add_bundle_options_data" type="Magento\Bundle\Plugin\Catalog\ViewModel\Product\AddBundleOptionsData" />
</type>
</config>