Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hi,
I'm trying to use Shopify Flow to add and remove order tags relevant to product SKU's on backorder. I have everything that I need working for this apart from, I'm struggling to find a way to limit the number of orders the Get Order Data action gets using a variable. I was wondering if this is even possible?
To expand on this, I'm starting the flow when a product quantity changes, triggering the get order data using an advanced query, and then using that data to remove certain tags. For example, if I have 5 on backorder but only 2 arrive, I want to only remove the oldest 2 tags. But without manually fixing the limit in the top setting, I can't find a line that will make this limit variable.
My code for the get order data so far is:
fulfillment_status:unshipped AND NOT status:cancelled AND tag:"BackOrder {{ productVariant.sku }}"
Anyway! Any suggestions would be greatly appreciated,
Thanks,
Sam.
You cannot currently set that limit dynamically.
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