This is an example of how to set up the collection (product list) page of the Shopify themes "Rise" and "Dawn" to display "previously purchased" status for previously purchased products for logged-in accounts, just like Amazon does. (The code is a little complicated to ensure pagination works.)
Example of settings to display that the theme "Rise/Dawn" has been purchased in the past on the collection screen for logged-in accounts

How to set it up: Add a custom Liquid section to your collection template and insert the code.

