12345678910111213141516171819202122232425 |
- <?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\Catalog\Model\Product\Option\Type\Date" type="Magento\Catalog\Model\Webapi\Product\Option\Type\Date" />
- <type name="Magento\Catalog\Helper\Product\ConfigurationPool">
- <arguments>
- <argument name="instancesByType" xsi:type="array">
- <item name="default" xsi:type="object">Magento\Catalog\Helper\Product\Configuration</item>
- </argument>
- </arguments>
- </type>
- <type name="Magento\Framework\App\ResourceConnection">
- <plugin name="get_catalog_category_product_index_table_name" type="Magento\Catalog\Model\Indexer\Category\Product\Plugin\TableResolver"/>
- <plugin name="get_catalog_product_price_index_table_name" type="Magento\Catalog\Model\Indexer\Product\Price\Plugin\TableResolver"/>
- </type>
- <type name="Magento\Catalog\Api\ProductCustomOptionRepositoryInterface">
- <plugin name="updateProductCustomOptionsAttributes" type="Magento\Catalog\Plugin\Model\Product\Option\UpdateProductCustomOptionsAttributes"/>
- </type>
- </config>
|