WordPress.org

Support

Support » Plugins and Hacks » eShop » [Resolved] eShop Cart widget not automatically updating

[Resolved] eShop Cart widget not automatically updating

  • Hello
    I am using the “eShop Cart (Improved)” widget on my site (not yet live). I noticed that in the past when I add a product to the cart, the widget will automatically update the contents without needing a refresh.

    Now though, this functionality does not work. The item is added to the cart, but the widget doesnt automatically update and I need to refresh the page to see it. So actually it does not look like it is being added at all unless I refresh. Ive tried with Firefox and IE and both are the same.

    I suspect (but really not sure) that this may have happened after the last upgrade to WordPress (3.6).

    Any idea on how to fix this?

    http://wordpress.org/plugins/eshop/

Viewing 15 replies - 1 through 15 (of 20 total)
  • Just to give a bit more info… it’s not just the side bar widget that doesnt update. After clicking “Add to Cart” there is no indication at all that the item has been added (even though it has).

    esmi

    @esmi

    Forum Moderator

    Can you replicate the problem using the default Twenty Thirteen theme with all other plugins deactivated?

    Just tried and yes, the same problem happens (all plugins deactivated and switched to Twenty Thirteen), although now that I think about it, this is not a widget problem, it’s general issue with adding to cart button.

    If I remember correctly, when I used to add to cart, there was a small message that said “item added” (or something like that) and then faded away. Now this message does not occur at all and there is no indication that the item has been added. The “Add to Cart” button is clickable but clicking it doesnt appear to do anything. However, the item is actually added to the cart.

    For someone who is new to the site, it would appear as though the order function on the site is broken unless they think to refresh the screen.

    esmi

    @esmi

    Forum Moderator

    Site url?

    Hmmm, actually it’s new and not online yet. Any tips on trying to troubleshoot before I bring it online?

    Are you able to replicate the issue?

    esmi

    @esmi

    Forum Moderator

    No – we cannot replicate this issue. So we’ve no real suggestions to offer at this time.

    No suggestions? From my detailed description.

    esmi

    @esmi

    Forum Moderator

    Sorry – no. Whatever this is, it seems to be specific to your site.

    @domu did you fix it? I have the same problem after updating to WP 3.6

    Vincesta, no fix Im afraid, but it does appear to be a java issue:

    Uncaught TypeError: Cannot call method 'createDocumentFragment' of undefined jquery.js?ver=1.10.2:5
    dt jquery.js?ver=1.10.2:5
    x.extend.buildFragment jquery.js?ver=1.10.2:5
    x.fn.extend.domManip jquery.js?ver=1.10.2:5
    x.fn.extend.after jquery.js?ver=1.10.2:5
    x.fn.(anonymous function) jquery.js?ver=1.10.2:5
    (anonymous function) eshop-cart.js?ver=3.6:7
    c jquery.js?ver=1.10.2:4
    p.fireWith jquery.js?ver=1.10.2:4
    k jquery.js?ver=1.10.2:6
    r

    yup same output in my javascript console… I am trying to figure out 🙂

    Ah ok. Please post if you find a fix. This is pretty well out of my realm of expertice Im afraid.

    What theme are you using?

    @domu, maybe I found a solution!

    Go to wp-content/uploads/eshop_files

    You will find a file called eshop-cart.js

    In this file replace all occurances of insertAfter() with after()

    This works for me, let me know if it works for you!

    Vincesta, Ill try that when I have a chance. Hope it works. Thanks a lot for posting.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘[Resolved] eShop Cart widget not automatically updating’ is closed to new replies.
Skip to toolbar