Using or not using the "Add a Donation" payment page feature in only specific events

Good afternoon. We are thinking that we would like to be able to "Turn Off" the Payment Page "Add a Donation" option in some events, but leave it on in others. Have any TNEW users found a way to do this.

Thanks.

  • I don't think there's going to be a way to do this out-of-the-box, since basing logic on cart state can be complex to define with configuration. But I think you could accomplish this with some JavaScript, and/or some SQL. By customizing your template with some JavaScript, you could scan the products displayed in the cart on the payment page and remove or hide the donation element when you find the events in question. An alternative implementation that could offer a bit more end-user configurability would be to use a cart validation customization for the payment page that checks to see if the cart contains the "no-donation" events in SQL, and then conditionally return a JavaScript tag to the payment page which would, again, remove or hide the donation element.

  • Thank you Nick. I am just an old ticket jockey and I have no knowledge of Java and darn little SQL. Still if our higher ups think the issue is important enough, we may hire it out. Thank you for taking the time to think outside of the box.

  • Hi Andrew,

    There is not currently a way to hide the Checkout Donation based on product, although it can display differently when a package is in a user's cart. This is great feedback though, and we will keep it in mind as we continue to evolve the Checkout Donation feature.

    We do have a pre-build TNEW plugin, Automate Donation Ask, which does support a more dynamic display as you may desire. You can open a support ticket (hello.tessituranetwork.com) to get more information if that is of interest.

    Thanks again for the feedback, and let us know if you have further questions,
    Paul

  • ,

    Since we are talking Checkout Donation thoughts right now, being able to control the contribution type and messaging based on event/keyword/something in that checkout area would be great, too!!  Smiley

    John

  • Thank you Paul, we may follow up with support if my higher ups want to.