I’m unsure where to start to create an add to shortlist function. I can see that it involves the creation of a database, retrieval of data via a button and sending the data to a destination but I can’t do the logic with the Wix developer tools… Is there anyone out there that can put me in the right direction? The site is an artist booking agency www.bandshop.com.au and you can see when you click on the individual artist pages that there is an infrastuctutre for the add to shortlist function that my client wants me to strip out of get working! Any ideas?
Hi dallas,
A thing to consider before attempting to solve this issue:
Should this data be local (used again and again on the same computer and browser), or remote (saved on a server)?
Maybe answering the following question will help you decide:
Who is the owner of a current shortlist?
Is it a user of your site, or maybe just anyone who’s using the site in the current computer (browser)?
If it’s the first option, than this means that you’ll need a user management on your site (and a database that keeps a record of every users shortlist), and this means that whenever a specific user is logged on, no matter where he is, he sees the data.
If it’s the second option, then you can consider using wix-storage to keep the shortlist on the browser’s memory.
That way, when anyone goes back to the site from on the same computer (and browser), you can easily load the shortlist.
Hope this helps,
Liran.