I have a manual collection called “Back in Stock”. Items are added whenever inventory total increases (via flow). Items are removed after they have been in the collection for 30 days (flow). The sort order is manual.
Right now new items are added to the back/end of the collection. I want them added to the front/start of the collection. Obviously, so that the more recent “back in stock” items appear on page 1.
If this can be done with code or flow I’m willing to try it. I’ve added date tags to orders in flow before but I don’t see a way to add date tags to products and I don’t see a way to sort via tag/date anyway.
I see these filters that may be useful?
https://shopify.github.io/liquid/filters/reverse/ (just do the opposite to what its doing now?)
https://shopify.github.io/liquid/filters/sort_natural/ (sort by some property similar to updated/modified/added to collection/tagged)
https://shopify.github.io/liquid/tags/iteration/ (reversed)
Any tips for a coding noob? Flow or editing theme (Dawn) works for me.