• Resolved ccggint

    (@ccggint)


    Hi,

    A very bizarre situation takes place when I click “add to cart” in Product Page and my cart is empty.

    When product page do the redirection, cart widget in header “flashes” with the correct quantity of the products but as soon as page loads completely, cart widget is empty.

    No caching plugins exist.

    What is going on? Any idea?

    Thanks for your time!

    https://www.ads-software.com/plugins/woocommerce/

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

    (@mikejolley)

    Most likely server caching ?? Host?

    Thread Starter ccggint

    (@ccggint)

    Hosting in top.host

    But an even more strange thing is that when you add the same or another product with “ajax add to cart” button from shop page, cart widget unblocks. So when you try to “add to cart” from product page everything works just fine after page redirection.

    Only in the initial stage with empty cart this error occurs.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Still sounds like caching. AJAX requests will likely not be cached. Pages will.

    See if they have varnish caching enabled.

    Thread Starter ccggint

    (@ccggint)

    Hi,

    My hosting provider informed me that the PHP Version it was the problem. They downgraded PHP from 5.6 to 5.3.29 and problem solved.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cart Widget in Sidebar/Header not updating after add to cart redirection’ is closed to new replies.