Home Forums WoodMart support forum Cart & AJAX Cart emties after 1 second

Cart & AJAX Cart emties after 1 second

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #38561

    Swedenform
    Participant

    Hello,
    I have purchased your theme yesterday and have only the plugins that come with the theme installed (plus WooCommerce Germanized that you officially support).
    I imported your full demo content. Now, when adding any product to the cart it appears for 1 second and then the cart automatically empties again.

    This doesn’t happen when I use another theme and add something to the cart so this is very likely related to your theme.

    Thanks
    Tim

    #38569

    Artem Temos
    Keymaster

    Hello,

    We are glad to know that you considered using WoodMart for your web-site. I hope you will be happy with it.

    We tested your website and didn’t see any problems adding products to cart. See this example https://gyazo.com/ab14a8c7e65109fd2ff2294dd3ebf1bc

    Kind Regards
    Xtemos

    #38587

    Swedenform
    Participant

    Have you tried it when being logged in into the WordPress Admin?
    Here’s a video from me how it looks like: https://streamable.com/mzml4

    Also my hoster did exclude all woocommerce checkout steps from caching

    #38607

    Artem Temos
    Keymaster

    But as you can see on the screenshot we sent, we were logged in while testing this function.

    #38622

    Swedenform
    Participant

    Ok could be possible it occurs otherwise.

    Here a new one without being logged in and Chrome instead of Safari: https://streamable.com/55x9u

    AJAX Cart works, but as soon as entering the checkout the cart is empty.

    Please help me out here, I don’t know what’s wrong 🙁

    #38644

    Artem Temos
    Keymaster

    It works well if we are not logged in as well for us https://gyazo.com/3b7ea9ac9e96057072edc19178b20908

    #38653

    Swedenform
    Participant

    What device setup do you use?
    I just tried it with mobile data via my iPhone and the cart gets cleared when entering it as well…

    #38663

    Artem Temos
    Keymaster

    Could you please ask your hosting provider to disable all caching functions?

    #38700

    Swedenform
    Participant

    Sure thing, I will do that and write you then here if this solves the issue or not 🙂

    #38725

    Artem Temos
    Keymaster

    OK, waiting for further information.

    #39415

    Swedenform
    Participant

    Hi,
    I have been doing some excessive testing with my hoster in the past days and after removing all caching, the issue still exists.

    See here https://streamable.com

    When using the tewntyseventeen theme from wordpress, it works without a problem, so this is probably a theme related issue (s. screenshot attached).

    During the investigation, we found out that the problem happens only to variations of products, not when adding a product without variations.

    Here’s a product variation you can use (first one, the 1/2017): http://swedenformshop.wpengine.com/produkt/mallikerta/

    Here you can find products without variations: http://swedenformshop.wpengine.com/product-category/webliteratur/

    Also, when you have a product that is not a variation in the cart and add a product variation of another product, it will replace the product in the AJAX Cart widget but when visiting the cart page, the variation disappeared and only the product that was there before will be in the cart.

    There’s also an error showing in the console (s. screenshot #2), it might be related to the issue.

    Attachments:
    You must be logged in to view attached files.
    #39421

    Artem Temos
    Keymaster

    Hello,

    The problem seems to be caused by some of these plugins that we are not able to deactivate http://prntscr.com/ie1fnw
    Or you can try to disable AJAX add to cart function in Theme Settings -> product page.

    Regards

Viewing 12 posts - 1 through 12 (of 12 total)