This is an example of how to display "Previously Purchased" status for previously purchased products to logged-in accounts in the featured collection section of the homepage of the Shopify themes "Rise" and "Dawn," just like Amazon. The code is slightly different from that for collection pages.
Example of settings to display items that have been previously purchased in the featured collection section of the theme "Rise/Dawn" to logged-in accounts

[How to set it up] Add a custom Liquid section to a template with a featured collection section, such as the homepage, and insert the code.

