Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hello!
I would like to create a flow to move a product to the top of a tag based collection when the product is published to online store.
I cannot find a simple way to do this. Some notes:
Hello,
There is a template "Add products with a tag to a collection in the future" you should be able to find in your store. It may be a good start to help you do what you want to do.
If it doesn't help, maybe I misunderstand your problem. Perhaps you could explain a bit more.
To learn more visit the Shopify Help Center or the Community Blog.
Hello, thank you for your reply. Our collection is based on a product tag, so all products with the tag are in the collection. I would like a flow that adds a product to the top of a New Arrivals collection when a product is published on the online store.
Some further notes:
You'd probably need to use the manual sort option for the collection in conjunction with the collectionReorderProducts mutation. How many products do you have in that collection roughly?
Hello,
We are facing the exact same issues with the way Shopify is using the newest to oldest sorting in collections. Not using the published date, but the creation date is frustrating so say the least. We also have all products on active for POS reasons,.
Did you manage to find a solution for this yet?
The answer is along the lines of what Kalen posted. After you add the product to the collection you need to use Send HTTP Request to call the API to update the order. collectionReorderProducts is the name of mutation to call: https://shopify.dev/docs/api/admin-graphql/latest/mutations/collectionReorderProducts
For it to work, your collection should be manually sorted
My assumption here is that you are using Flow to add a product to a collection, so you would just place the API call after that action.
I'm not sure of your exact use case then, so you need to provide more detail on when you need to change the sort order.
I don't think you can change the sort order on an automated collection.
Yeah you should be able to change the sort order on an automated collection if it has manual sort order enabled by using the collectionReorderProducts mutation.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024