Set a product to be unavailable online through Flow

Lethiwe
Shopify Partner
1 0 0

Hi all, 

How can I create a shopify flow that fires product creation by setting the new created products unavailable on shopify frontend/ online?

 

Here is picture of the flow logic am using.

Screenshot 2023-04-06 at 15.53.26.png

 

Reply 1 (1)

paul_n
Shopify Staff
914 127 220

Why have "get product data" and the loop? You could just connect "product added to store" to "hide product". 

 

Alternatively, you could schedule a workflow to run every x hours, check for products created in that time period that are published and hide them. This is harder to build, so I would use the first approach if it works for you.

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.