1234567891011121314151617181920212223242526272829303132333435363738 |
- <?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\CatalogRule\Model\Rule">
- <arguments>
- <argument name="relatedCacheTypes" xsi:type="array">
- <item name="blockCache" xsi:type="string">block_html</item>
- <item name="fullPageCache" xsi:type="string">full_page</item>
- </argument>
- </arguments>
- </type>
- <type name="Magento\Catalog\Model\ResourceModel\Product">
- <plugin name="apply_catalog_rules_after_product_save" type="Magento\CatalogRule\Plugin\Indexer\Product\Save\ApplyRules"/>
- </type>
- <type name="Magento\Catalog\Model\Category">
- <plugin name="apply_after_products_assign" type="Magento\CatalogRule\Plugin\Indexer\Category"/>
- </type>
- <type name="Magento\Store\Model\Website">
- <plugin name="reindex_after_delete_website" type="Magento\CatalogRule\Plugin\Indexer\Website"/>
- </type>
- <type name="Magento\Customer\Model\Group">
- <plugin name="reindex_after_delete_customer_group" type="Magento\CatalogRule\Plugin\Indexer\CustomerGroup"/>
- </type>
- <type name="Magento\ImportExport\Model\Import">
- <plugin name="reindex_after_import" type="Magento\CatalogRule\Plugin\Indexer\ImportExport"/>
- </type>
- <type name="Magento\Catalog\Model\ResourceModel\Eav\Attribute">
- <plugin name="change_product_attribute" type="Magento\CatalogRule\Plugin\Indexer\Product\Attribute"/>
- </type>
- <type name="Magento\Catalog\Model\Product\Action">
- <plugin name="price_plugin" type="Magento\CatalogRule\Plugin\Model\Product\Action"/>
- </type>
- </config>
|