Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hello everyone,
I am working on a workflow to manage orders(older and future) that are partially fulfilled. The goal is to identify orders where only one specific item remains unfulfilled. If this is the case, the order will be marked as fulfilled.
I am struggling to single out this specific item while also checking the status of the order line items in the order.
Here is what I have so far and where I am stuck :
Any help is greatly appreciated.
Something like below should get you all the orders that only have a specific product unfulfilled.
The problem is that there is no action to mark an order fulfilled. You can mark Fulfillment Orders as fulfilled. Do you have existing unfulfilled Fulfillment Orders that contain the specific product in question?
To learn more visit the Shopify Help Center or the Community Blog.
"Do you have existing unfulfilled Fulfillment Orders that contain the specific product in question?" - Yes and there will also be orders created that will be marked as Partially fulfilled because of this particular item.
I ended up doing this after spending more time reading about Flow:
However, I am still trying to figure out how this "for each" works before turning my workflow. After doing "do this for each item", will this only return the fulfillments that have every item fulfilled except my searched item? Also, If I realize this will work only for future orders(hopefully), but is there a way to change this to modify certain orders from the past?
The steps that follow the "do this for each item" port will be executed for every item in the list being looped over in the "For Each" step.
Steps that follow the "then" port will be executed after the steps for every item have been processed.
The equivalent in psuedocode would be:
for each item in list:
# do this for each item
step 1
step 2
...
step N
end for
# then
more steps...
You can find more details on "For Each" here.
To learn more visit the Shopify Help Center or the Community Blog.
Hi @wiredigital
Could you please confirm if this Flow works for you? I'm facing a similar issue.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024