We have a property listings website (php) which allows the user to search for properties based on criteria they can select and each property has a unique ID. We would like a way for the user to be able to add a desired property to a 'Favourites' list which they can access, however we would like this to be done without the user needing to create an account login.
a) on each property page there must be an 'Add to Favourites' button
b) if the property has been added, this link should become a remove from 'Favourites' list
c) the 'Favourites' list page should show all properties that the user has added in the same format as the search results page, each with a link to remove it from the list
d) if the user has no properties saved as 'Favourites', the page should have text to this effect
e) this must all be done without the need for the user to create an account / login to the website.
I would suggest the property ID's are added to a cookie, which will store them temporarily.
Please send us an example of a similar project / cookie you have built before.