<?xml version="1.0"?>
<!--
/**
 * @author Amasty Team
 * @copyright Copyright (c) Amasty (https://www.amasty.com)
 * @package Composite Product Price Indexer
 */-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="Magento\ConfigurableProduct\Model\ResourceModel\Product\Indexer\Price\Configurable">
        <plugin name="Amasty_CompositeProductPriceIndexer::AddIndexSpecialPrice"
                type="Amasty\CompositeProductPriceIndexer\Plugin\Catalog\Model\ResourceModel\Product\Indexer\Price\Dimensional\Configurable\AddIndexSpecialPrice"/>
    </type>

    <type name="Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\SimpleProductPrice">
        <plugin name="Amasty_CompositeProductPriceIndexer::AddIndexRulePrice"
                type="Amasty\CompositeProductPriceIndexer\Plugin\Catalog\Model\ResourceModel\Product\Indexer\Price\Dimensional\Simple\AddIndexRulePrice"/>
    </type>

    <type name="Magento\Catalog\Model\Indexer\Product\Price\Action\Full">
        <plugin name="Amasty_CompositeProductPriceIndexer::SetFullReindexFlag"
                type="Amasty\CompositeProductPriceIndexer\Plugin\Catalog\Model\Indexer\Product\Price\Action\Full\SetFullReindexFlag"/>
    </type>
</config>
