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.
User | RANK |
---|---|
3 | |
2 | |
2 | |
2 | |
1 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023