Recently_ordered_count refreshed on reindex or all time total


The recently_ordered_count attribute is updated after each reindex.

We would like this value to hold “all time sales order count”.

Is this possible using the existing algolia shopify app? or are we required to do a custom implementation that saves the “all time sales order count” in a metafield for indexing?

Hi @ronny,

the recently_ordered_count attribute is only updated using Shopify “orders/paid” web-hook.

This means that you cannot get “all time historical data” for your products recently_ordered_count by doing a reindex.

So, you are right, the solution in order to have “all time historical data” would be to have a custom implementation on your side that pushes this data into a meta-field.