Skip to content

Commit

Permalink
Merge pull request #14 from aligent/fix/indexer_dependencies
Browse files Browse the repository at this point in the history
Add indexer dependencies
  • Loading branch information
quangdo-aligent authored Jan 28, 2024
2 parents 6ba80fb + 895a333 commit 3f87c4f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions etc/indexer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,27 @@
<indexer id="prerender_io_product" view_id="prerender_io_product" class="Aligent\PrerenderIo\Model\Indexer\Product\ProductIndexer">
<title translate="true">Prerender.io Product Recaching</title>
<description translate="true">Recaches product urls when products are updated</description>
<dependencies>
<indexer id="cataloginventory_stock" />
<indexer id="catalog_product_price" />
</dependencies>
</indexer>
<indexer id="prerender_io_category" view_id="prerender_io_category" class="Aligent\PrerenderIo\Model\Indexer\Category\CategoryIndexer">
<title translate="true">Prerender.io Category Recaching</title>
<description translate="true">Recaches category urls when categories are updated</description>
<dependencies>
<indexer id="catalog_category_product" />
<indexer id="cataloginventory_stock" />
<indexer id="catalog_product_price" />
</dependencies>
</indexer>
<indexer id="prerender_io_category_product" view_id="prerender_io_category_product" class="Aligent\PrerenderIo\Model\Indexer\Category\ProductIndexer">
<title translate="true">Prerender.io Category Product Recaching</title>
<description translate="true">Recaches category urls when products are updated</description>
<dependencies>
<indexer id="catalog_product_category" />
<indexer id="cataloginventory_stock" />
<indexer id="catalog_product_price" />
</dependencies>
</indexer>
</config>

0 comments on commit 3f87c4f

Please sign in to comment.