Skip to content

Commit

Permalink
Fix #2772 by removing magento inventory plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
romainruaud committed Nov 9, 2022
1 parent 3a4e23a commit 796226c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/module-elasticsuite-catalog/etc/frontend/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -242,4 +242,11 @@
type="Smile\ElasticsuiteCatalog\Plugin\Search\Request\Product\Attribute\Aggregation\LayeredNavAttribute"/>
</type>

<!-- Disable erratic plugin on toolbar.
This plugin is not needed because Elasticsuite already filters properly the products.
So we have accurate product count in the toolbar from the ES response. -->
<type name="\Magento\Catalog\Block\Product\ProductList\Toolbar">
<!-- This plugin is defined in magento/module-inventory-catalog -->
<plugin name="update_toolbar_count" disabled="true"/>
</type>
</config>

0 comments on commit 796226c

Please sign in to comment.