Removing OOS Product tag using Flow

Removing OOS Product tag using Flow

TinaPPPP
Tourist
8 0 2

Hello! I am trying to remove a size tag once that particular size is out of stock. I have started the flow but I have gone to test it and it doesn't seem to be working correctly. I have tried both separating out the sizes into different actions as well as all at once. Does anyone have a solve for this? Thank you! 

Screenshot 2024-07-18 125727.png

Replies 6 (6)

paul_n
Shopify Staff
1774 194 415

Usually you would have a condition in there to check which variant is out of stock. right now I'd expect this workflow to remove those tags when any variant goes out of stock

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.
TinaPPPP
Tourist
8 0 2

Hi Paul, 

 

Thanks for the reply! The condition the flow would have to check is the size variant. Would you know how to add this? 

paul_n
Shopify Staff
1774 194 415

I'm not sure what you mean by a size variant. I think you might mean "option". Like a product can have a size option with possible values S, M, L. And a single variant would have Size S. 

 

To check which options a variant has the field is under "variant / selectedOptions" where the "name" field would be something like "size" and the value would be "S". 

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.
TinaPPPP
Tourist
8 0 2

Hi Paul, 

 

Thanks for the update. Yes, I am meaning size under Option. Does the attached seem to make sense? I feel as if I am missing a step. Screenshot 2024-07-22 124758.png

paul_n
Shopify Staff
1774 194 415

I'm not sure why you have that third step in there. Also, not sure about what is in your conditions panel. 

 

Have you tried to run it? You might create a test product variant for this that has that specific tag, and make it go out of stock. 

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.

Jenny_W
Shopify Staff
12 4 3

Hi @TinaPPPP , you'll want to confirm the tag you are removing and make sure that it exactly matches the tag on the product. Copy and paste it if possible 

To learn more visit the Shopify Help Center or the Community Blog.