Support » Plugin: WP Menu Cart » Menu cart doesn't update in real time (EDD)

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jeremiah

    (@jprummer)

    Hello, thanks for your message!

    We’re having an issue with EDD ajax. Sometimes it fires in the proper order (meaning our ajax function runs after EDD’s function adds the item to the cart) and sometimes it doesn’t. It seems to depend on how long it takes to load certain pieces of javascript. We’re working on getting this resolved, but unfortunately it’s much more difficult than it sounds. 😉 Anyway, I’m hoping to have this fixed within a week or so. The next update should have the fix in place.

    thomasmpreston

    (@thomasmpreston)

    Hi, thanks for the reply!

    Good to know it’s in hand, I’ll look forward to the update 🙂

    Cheers,

    Tom

    Moderator Pippin Williamson

    (@mordauk)

    Pippin's Plugins and Plugin Reviewer

    Jeremiah, if you need any assistance working this out, let me know!

    Plugin Author Jeremiah

    (@jprummer)

    Thanks Pippin!

    So I just found a way that works, but would you mind confirming that this is a reasonable way to do this? If I add a slight delay to our ajax call (1 second) it seems to delay the script enough to insure that your add to cart ajax has had time to run. As well, the delay is short enough that it looks pretty good. Is there a better method that I should be using, or is this a good way to do it?

    Moderator Pippin Williamson

    (@mordauk)

    Pippin's Plugins and Plugin Reviewer

    That should work just fine!

    Plugin Author Jeremiah

    (@jprummer)

    Awesome, we’ll push it then. I can’t believe I didn’t think of this earlier. Thanks for always being so quick to help. Also, that could be a great spot for a hook in the future, like WooCommerce’s add_to_cart_fragments filter. 😉

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Menu cart doesn't update in real time (EDD)’ is closed to new replies.