When we install 2 modules together, the catalog price rule doesn’t seem to be working.


Currently, we have updated our Multiple Store View Pricing with a function which allows the catalog price rule with price as a condition can work in multiple store view.

The function will work only if you have Price as a condition -

For example:
* Currency rate 1 USD = 0.5 EUR = 100 JPY
* Base currency for store view: Default - USD; Storeview1 - EUR; Japanese - JPY
* Set up a rule with price equals or greater than 50 (USD)
Expected result
* Catalog price rule only applies to a product if the price equals or greater than Default - 50USD, Storeview1 - 25EUR, Japanese - 5000JPY

Hence, if you don't use this function on your site, you can simply remove this function by commenting out the following code 

in file:


<!-- <preference for="Magento\CatalogRule\Model\Indexer\ReindexRuleProduct" type="Bss\MultiStoreViewPricingCatalogRule\Model\Indexer\ReindexRuleProduct" />

    <preference for="Magento\CatalogRule\Model\Indexer\ReindexRuleGroupWebsite" type="Bss\MultiStoreViewPricingCatalogRule\Model\Indexer\ReindexRuleGroupWebsite" />

    <preference for="Magento\CatalogRule\Model\Rule\Condition\Product" type="Bss\MultiStoreViewPricingCatalogRule\Model\Rule\Condition\Product" />

    <preference for="Magento\CatalogRule\Model\Rule" type="Bss\MultiStoreViewPricingCatalogRule\Model\Rule" /> -->