Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    If I force my cart widget to remain visible on the cart page and update my cart (update or remove item) it does refresh, so this appears to be working. Perhaps your theme has a custom fragment.

    Thread Starter decarvalhoaa

    (@decarvalhoaa)

    That’s strange. I’m using storefront 1.6.1 (yet, still need to upgrade it).

    At least the cart a.cart-contents on the page header is not updated.
    I don’t see the xhr request to update the fragment being fired either – only the new cart request.
    What is strange is that this new cart request returns a full html page (is this what right?!) and there the a.cart-contents content is updated.

    Any change in SF 2.0.0 that makes this work?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Storefront 2.0.x has been updated for 2.6 compatibility so yes, I think thats likely.

    Thread Starter decarvalhoaa

    (@decarvalhoaa)

    Unfortunately that’s not it. just upgraded and i am experiencing the same behaviour.

    is it normal that the xhr request from the cart returns a full page??

    Hello,

    I have same situations about cart not working update increase/decrease quantity of a product or remove !!! Anysolutions? Thanks

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Yes, the XHR returns the full page and then a separate fragment update is triggered.

    Example gif showing it working:

    Example

    Thread Starter decarvalhoaa

    (@decarvalhoaa)

    Found it! Another plugin preventing the separate fragment update being triggered.

    Thanks for the support!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[WC2.6] Cart Ajax doesn't refresh cart fragments’ is closed to new replies.