Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
I need to see if each location has active inventory so that Flow will automatically update the metafield "Shipping Template" based on active inventory and whether or not the item is Prime. So with this specific workflow, all 3 locations need to have active inventory and Prime needs to be "Yes." The problem is, even if one of the 3 locations is at 0 inventory, it is coming back as true. What might be wrong? It seems to be combining inventory at all locations and putting "true" on all of them even if only one location has inventory.
Yes, productVariant.inventoryQuantity is a total for all locations if you're using this one.
I'd be trying this as a starter:
This is the right variable, but do not use "all of" because that will check that all locations have inventory of 0.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025