Okay
  Public Ticket #2747589
Plugin recommendation to click on table row and add to cart
Closed

Comments

  • Nicholas Tan started the conversation

    Hi,

    Currently we have a script that allows users to click on a row in wpDataTables, which opens up an 'Add to Cart' button that users can click on.

    However we were wondering if you have another solution for this under TMS, or any recommendations for specific plug-ins to use to achieve the same functionality, as we'd like to avoid using the script since the developer who worked on it has gone silent for awhile now.

  • [deleted] replied

    Hi NIcholas

    Thank you for reaching out to us.

    What you did is definitely what we would've suggested, we don't have any scripts or add-ons to offer to accomplish this. We'll look into it in the future, but at the moment this solution is the best option.

    Do let us know if there is anything else we can assist you with.

  • Nicholas Tan replied

    Just to clarify, which do you mean by 'this solution is the best option'?

  • [deleted] replied

    Hi NIcholas

    You say you already have a script hat allows users to click on a row in wpDataTables, which opens up an 'Add to Cart' button that users can click on, unfortunately we don't have any solutions that would be a better option.

  • Nicholas Tan replied

    Ahh, I see! Alright, thank you for the help. We'll try to sort out our script.

  • [deleted] replied

    You are most welcomesmile.png 

    Do let us know if there is anything else we can assist you with.

    Have a wonderful day!


  • Nicholas Tan replied

    Hi again!

    It's a bit related only but we are going to try and fix the script quickly, I've attached a screenshot of the error we're getting in the post here, and a snippet of the code file: https://pastebin.com/uSMkKafK

    It happens pretty irregularly, only shows up on some pages.

    Any quick ideas what might be the issue, or what we should change?


  • [deleted] replied

    Hi Nicholas

    What we can see from the code is that in that moment wpdatatables object was not created. We assume it is related to a file wdt.df7 which is custom or maybe an integration with contact form 7. Please contact the developer that made this.

    Unfortunately custom solutions do not fall under provided support for the plugin.

    Do let us know if there is anything else we can assist you with.

  • Nicholas Tan replied

    Ah okay, understood. Thanks again, Blaženka.

  • [deleted] replied

    You are most welcomesmile.png

    If there is anything else we can assist you with please don't hesitate to open a new ticket.

    Have a wonderful day!