• Hello, I am using your plugin on a website & when a donation amount is entered the “Donation Total” box doesn’t update. I am assuming this is something Javascript related or conflicting, however I am not sure and wonder if you might be able to take a look and assist me?

    The website and page in reference is: https://badgesofamerica.org/charitable-donations/

    Thank you in advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Ya, most likely a plugin conflict. Please deactivate all plugins besides Give. If it works as expected then re-activate each plugin one at a time until you see the problem again. Then let us know which plugin caused the error and we’ll dig into it.

    If after deactivating all other plugins it still does not work correctly, then tell us where we can get a copy of your theme to test.

    Let me know how that goes.

    Thread Starter zerojjc

    (@zerojjc)

    Hello Matt,

    Thank you for your reply. I tried deactivating all of the plugins as you requested (there were only 5 others) but after refreshing the cache the donation total still did not update. I went ahead and uploaded the theme to Dropbox, would that work for you? Here is the link: https://www.dropbox.com/s/732q3u8e1ci3r0k/Triple-Trike.zip?dl=0
    (I’ll remove the file/folder in a few days to make this link not active any longer)

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Actually, try going to “Donations > Settings > Advanced Options” and check the “Load Scripts in Footer” option. That should resolve it actually.

    Let me know how that goes.

    Thread Starter zerojjc

    (@zerojjc)

    I went ahead and did this and it still isn’t working:-( Here’s a screen showing the setting is checked: https://imgur.com/a/m7Lmf

    The page again for reference: https://badgesofamerica.org/charitable-donations/

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    OK, then it must be a theme issue. I’ll download the theme now and see what I find.

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    OK, I dug into this quite a bit now. The theme is definitely the source of the problem. It’s obviously a custom theme by a company. I would go back to them and politely ask them to update the theme to use WordPress best practices in theme development, because as it is currently it doesn’t support plugins correctly at all. Here’s a few of the most important problems I found:

    1. Doesn’t include wp_head() and wp_footer() in the template files. These are necesary for plugins to be able to add scripts to the site. Without them, most plugins can’t function correctly at all
    2. Add it’s own version of jQuery into the head manually. This is bad practice since when wp_head() is implemented correctly, WordPress adds the correct version of jQuery automatically. Adding additional versions causes conflicts.
    3. Uses several outdated and depracted functions, like bloginfo('siteurl') and not using the __construct method for registering Widgets.
    4. Did not properly add a unique ID to any of the registered sidebars

    Even after I addressed each of these issue manually, There were still some other JS errors that I couldn’t resolve. I hate to say that this is unfortunately outside of the scope of our Support, but it really clearly is an issue with this theme and not with Give itself. But that’s why I wanted to provide as much detail as possible for you.

    Let me know if you have further questions at all.

    Thanks!

    Thread Starter zerojjc

    (@zerojjc)

    Thank you for the feedback and support. I’ll see what i can get figured out based on what you found out.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Give – Donation total not updating’ is closed to new replies.