I'm a bit lost.
I'd like to create a wishlist for products and save them into a cookie.
I don't want anybody to have a login and I don't mind if the list is not sharable and only available on the same device.
In my mind, the cookie would be an array that contains the product ids. The array can be updated by either removing an id or adding one.
Showing the products would just be iterating over the product ids.
Preferably I would do this in sprig.
I have a hard time to get started.
Could anybody affirm if this is possible and might walk me through on how to achieve this?
Any help appreciated!