Hey there, Awesome Customers!

Just a heads up: Our team will be out of the office on Monday, November 11th in observance of Armistice Day, but don’t worry—we'll be back in full swing on Tuesday, November 12th.

In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find tons of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel), which might just have the answers you need while we’re away.

Thanks a bunch for your understanding and support!

Warm regards,

TMS

Okay
  Public Ticket #1022420
adding a wishlist
Closed

Comments

  •  2
    aeroflight started the conversation

    I have a database of collectibles, which is visible on my website using wpDataTables.  Can you please give me some recommendations as to how I might code the functionality of a 'wishlist' for visitors to the site?

    Since the visitor has to be logged in, there must be a way for them to select lines from the SQL tables the plugin has generated and display them as a wishlist.

    Thanks for any help or suggestions.

    John

  • [deleted] replied

    Hi John,

    We do not have that functionality built in as you already know. Do you have any example of feature that you are trying to implement? 

    Please be aware that this is not standard functionality of our plugin so creating it will probably be out of scope of this support. I will point you in the right direction if I could, but it will most likely require code customization. 

  •  2
    aeroflight replied

    Hello Miljko,

    I am thinking of something similar to the Amazon wishlist functionality for books and DVDs etc.

    The wpDataTables table would include a column of checkboxes as well as the regular data, and the logged in user could select any number of these checkboxes and then click an 'add to wishlist' button - this action would save the relevant line numbers or SQL table line ids for the chosen checkboxes to a file.  By clicking on a 'show my wishlist' button wpDataTables would use this file to build a table just showing the selected lines from the main table.  The user could sort and filter this as normal and deselect any lines using the checkboxes.

    I am willing to try code customisation.  The tricky bit is understanding how the interfacing with wpDataTables might work.  I am not sure how the checkboxes - or similar - might be included in the table, how the table line ids might be recorded and how the selected lines might be rebuild into a new table.

    Thanks for your help.

    John


  • [deleted] replied

    Hi John,

    We are using Datatables jQuery plugin for frontend so best way for you is to start there. They have examples on how to add column with checkboxes in their forum and also built in methods which you can use to retrieve row ids.

    If you have problem to implement this, we can offer you to hire one of our developer to help you. if you are interested in that option please send me an email to address from my signature and we will proceed there