Home › Forums › WoodMart support forum › Cart & AJAX Cart emties after 1 second
Cart & AJAX Cart emties after 1 second
- This topic has 11 replies, 2 voices, and was last updated 6 years, 10 months ago by Artem Temos.
-
AuthorPosts
-
February 9, 2018 at 9:27 am #38561
SwedenformParticipantHello,
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
TimFebruary 9, 2018 at 10:05 am #38569
Artem TemosKeymasterHello,
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
XtemosFebruary 9, 2018 at 10:53 am #38587
SwedenformParticipantHave you tried it when being logged in into the WordPress Admin?
Here’s a video from me how it looks like: https://streamable.com/mzml4Also my hoster did exclude all woocommerce checkout steps from caching
February 9, 2018 at 12:25 pm #38607
Artem TemosKeymasterBut as you can see on the screenshot we sent, we were logged in while testing this function.
February 9, 2018 at 12:48 pm #38622
SwedenformParticipantOk 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 🙁
February 9, 2018 at 2:28 pm #38644
Artem TemosKeymasterIt works well if we are not logged in as well for us https://gyazo.com/3b7ea9ac9e96057072edc19178b20908
February 9, 2018 at 2:44 pm #38653
SwedenformParticipantWhat 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…February 9, 2018 at 3:00 pm #38663
Artem TemosKeymasterCould you please ask your hosting provider to disable all caching functions?
February 9, 2018 at 4:19 pm #38700
SwedenformParticipantSure thing, I will do that and write you then here if this solves the issue or not 🙂
February 9, 2018 at 9:15 pm #38725
Artem TemosKeymasterOK, waiting for further information.
February 13, 2018 at 9:19 am #39415
SwedenformParticipantHi,
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.February 13, 2018 at 9:52 am #39421
Artem TemosKeymasterHello,
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
-
AuthorPosts
- You must be logged in to create new topics. Login / Register