How to Create an Updated Products Collection

Solved

How to Create an Updated Products Collection

wrestlingfigdb
Tourist
6 0 0

My Shopify site is more of a database than a storefront (https://wrestlingfiguredatabase.com/). As a result, my visitors are typically concerned with a few things: 1) new items that are added, 2) new information (metadata, pictures, etc.) added to existing items. Situation 1 was an easy fix, but I haven't been able to figure out use case 2, despite lots of searching (these boards, Youtube, etc.).

 

I am looking for help creating a Collection that displays the most recently updated products. Essentially I am trying to replicate the Updated-->Newest First sorting available at the Products level within a Collection.

 

I'm fairly savvy with code, so may be able to make this work if that's necessary. Can you help me solve this mystery?

Accepted Solution (1)

StevenDunneDev
Shopify Partner
57 14 10

This is an accepted solution.

This isn't something that can be done out of the box. It gets really complicated if you want to code it yourself so it might be easier to use pre-existing apps.

 

You'd need a product metafield, a webhook or flow (now that we can access metafields in flow for the Summer '24 edition) to update that metafield with a timestamp each time a product is updated. Then you'd need some code/or app to create a smart collection that is sorted by that time stamp

Hope that helps give you the right direction

All the best

If my answer has been helpful to you, please give it a like and accepted solution. I greatly appreciate it 🙂

If you'd like to hire me to solve bigger problems for you, please reach out. I'd love to hear from you

View solution in original post

Replies 2 (2)

StevenDunneDev
Shopify Partner
57 14 10

This is an accepted solution.

This isn't something that can be done out of the box. It gets really complicated if you want to code it yourself so it might be easier to use pre-existing apps.

 

You'd need a product metafield, a webhook or flow (now that we can access metafields in flow for the Summer '24 edition) to update that metafield with a timestamp each time a product is updated. Then you'd need some code/or app to create a smart collection that is sorted by that time stamp

Hope that helps give you the right direction

All the best

If my answer has been helpful to you, please give it a like and accepted solution. I greatly appreciate it 🙂

If you'd like to hire me to solve bigger problems for you, please reach out. I'd love to hear from you
wrestlingfigdb
Tourist
6 0 0

Thank you very much, Steven. Truly appreciate the thorough and insightful response. It's not a huge priority, so I may push this one to the backlog.