Average order quantity

Track the average order quantity of your products and use it actively in your theme to increase AOV. Use it for information purposes ("Other customers usually buy 3 at a time") or proactively to suggest a default order quantity for customers to purchase.

This metafield is automatically updated for products that are part of the shop's orders during the past 60 days. If no orders in the past 60 days mention the product, the metafield is deleted. The value of the metafield will be the average quantity ordered of the product across the orders, rounded to the nearest integer.

Details

  • Name
    espresso.average_order_quantity
    Description

    Metafield namespace and key

  • Name
    number_integer
    Description

    Metafield type

  • Name
    product
    Description

    Scope of Shopify object that owns the metafield

When you initially enable this metafield, the individual product metafields will be set in a background task. If you have a large catalog, this may take anywhere from a few minutes to a few hours. Once the metafields are set, they will be updated in real-time

Example implementation

{% assign average_quantity = product.metafields.espresso.average_order_quantity.value %}

{% if average_quantity %}
  <p>
    Our customers usually buy {{ average_quantity }} at a time. Be sure to stock up!
  </p>
{% endif %}

Was this page helpful?