What's your biggest current challenge? Have your say in Community Polls along the right column.

Rotating the availabilities of products in a collection automatically on a scheduled time

Rotating the availabilities of products in a collection automatically on a scheduled time

Sieuwert
Visitor
1 0 0

I have a collection that contains 6 products. These products are sandwiches that I am selling. Every week I only want 1 of these 6 sandwiches to be available for sale, so I would like to automatically rotate this every Sunday morning. I am trying to create a flow that adds the "available" tag to the next product in the collection and adds the "unavailable tag" to all the other products in the collection. Additionally, I would like the flow to set the inventory to the available product to 22, and the inventory of all the unavailable products to 0.

 

I've been struggling a lot with this but I can't manage to figure it out. I would be really grateful If somebody could help me in the right direction.

Reply 1 (1)

paul_n
Shopify Staff
1445 157 334

Not sure how you would determine the "next" product in a collection. What do you mean by that?

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.