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.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024