di.xml 1.3 KB

12345678910111213141516171819202122232425
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
  9. <preference for="Magento\Catalog\Model\Product\Option\Type\Date" type="Magento\Catalog\Model\Webapi\Product\Option\Type\Date" />
  10. <type name="Magento\Catalog\Helper\Product\ConfigurationPool">
  11. <arguments>
  12. <argument name="instancesByType" xsi:type="array">
  13. <item name="default" xsi:type="object">Magento\Catalog\Helper\Product\Configuration</item>
  14. </argument>
  15. </arguments>
  16. </type>
  17. <type name="Magento\Framework\App\ResourceConnection">
  18. <plugin name="get_catalog_category_product_index_table_name" type="Magento\Catalog\Model\Indexer\Category\Product\Plugin\TableResolver"/>
  19. <plugin name="get_catalog_product_price_index_table_name" type="Magento\Catalog\Model\Indexer\Product\Price\Plugin\TableResolver"/>
  20. </type>
  21. <type name="Magento\Catalog\Api\ProductCustomOptionRepositoryInterface">
  22. <plugin name="updateProductCustomOptionsAttributes" type="Magento\Catalog\Plugin\Model\Product\Option\UpdateProductCustomOptionsAttributes"/>
  23. </type>
  24. </config>