Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Is there a way to trigger an action based on how many items were in the order?
I saw order.lineItems - but no size/quantity/totalCount or something similar
Thanks!
You can try liquid size function for the same somthing like
{% assign my_array = order.lineItems %}
{{ my_array.size }}
How would I do that in Shopify Flow? Is there a way to write your own logic in conditions?
If you ae using https://apps.shopify.com/flow?shpxid=e0ac7cd4-BC61-4197-FC05-8C44768EE440 app than you need to talk to shopify as they will best guide you , as it is there app.
There is a Flow template that uses the correct value, and you might draw inspiration from it: Get notified about irregularly large order quantities.
It references the Order. currentSubtotalLineItemsQuantity field which should do what you look for.
To learn more visit the Shopify Help Center or the Community Blog.
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