gary07
July 22, 2024, 2:17pm
1
Hi
Is there any way to Fetch all the products (approx 5000) check the Product type Value and update the value using the Flow condition
Or
Trigger the flow when the product updates to let’s say update the title or tag or update meta field value then trigger the flow to don’t need to fetch all the products
paul_n
July 22, 2024, 5:01pm
2
gary07
July 24, 2024, 3:33pm
3
Hi Paul,
I am trying to update and delete the custom product type but this does not update if I used
{
“input”: {
{{getProductDataForeachitem.handle}},
“customProductType”: “”
}
}
paul_n
July 24, 2024, 5:15pm
4
That input doesn’t look valid. You need the ID of this thing you want to update. And that handle you are inserting isn’t mapped to a key in the JSON.
gary07
July 25, 2024, 1:59pm
5
Hi Paul
I am using the below getproduct condition to remove the preorder tag but it removes the tag from the variant.inventory_policy:continue
tag:preorder AND variant.inventory_policy:deny AND updated_at:<=‘{{ scheduledAt }}’ AND updated_at:>‘{{ scheduledAt | date_minus: “1 day” }}’
paul_n
July 25, 2024, 2:05pm
6
This is not valid: variant.inventory_policy:deny
I don’t think you can query by inventory policy on a product. You should instead at a condition to check that field before removing the tag.
gary07
July 25, 2024, 3:11pm
7
Do u know if Product Type can called in query ?
paul_n
July 25, 2024, 3:49pm
8