Nothing happens when visitor clicks Add to Cart button

This topic has 10 replies, 5 voices, and was last updated 9 years, 7 months ago ago by Stan Russell

  • Avatar: femr
    femr
    Participant
    April 11, 2015 at 06:32

    Whenever a visitor clicks “Add to cart” the following message appears: “Your cart is empty”
    Loggued in users can add products to their carts, this only happens to visitors.
    How can I fix this? I’ve already fixed this issue once by unchecking ajax filter but now this solution isn’t working. I read all the previous threads about this situation, I’m running Legenda v 2.6.3 and Woocommerce 2.3.7.
    Thank you

    9 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    April 11, 2015 at 07:31

    Hello,

    You can download the latest plugins versions at this link https://www.8theme.com/download-plugins/ ,
    enter your purchase code of the theme to get the plugins.
    After updating please try to disable third-party plugins and check the issue.

    Regards,
    Robert Hall.

    Avatar: femr
    femr
    Participant
    April 11, 2015 at 08:50

    Hi Robert,
    I didn’t tell you that I am now running my site with wpengine (I didn’t think that was the issue), but after reading that a lot of users are having problems with Legenda and wpengine, I think is relevant. (I read something that you wrote the cart in _sessions and they don’t work with it https://www.8theme.com/topic/items-dont-stay-in-cart/). All the threads I checked in this forum ended without knowing if you finally found a solution to these incompatibility issues. (ex. visitor can add products to cart, but when they refresh the page, the count goes back to 0, and when they access a page that isn’t cached, you can see the product added to cart again. Also, visitors can’t add products to wishlists, and loggued in users can’t remove/add to cart products listed on the wishlist page). I’m working with wpengine to find a solution to this, if you have one please let me know, thank you

    Avatar: femr
    femr
    Participant
    April 11, 2015 at 08:52

    *(I read here that…. )

    Avatar: femr
    femr
    Participant
    April 11, 2015 at 18:15

    This is the answer that I got from WPengine:

    “If the theme is using PHP ‘$_sessions’ calls, any associated functionality will likely not come through correctly. http://wpengine.com/support/cookies-and-php-sessions/

    With the exception of the cart, which is implemented as part of the theme, the underlying WooCommerce plugin is functional with the cache exclusion. I would suggest reaching out to the theme developer to see if there is a work around for the cart sessions.”

    Is there? Thanks

    Avatar: Eva
    Eva Kemp
    Support staff
    April 12, 2015 at 11:03

    Hello,

    Please provide us with a site url and wp-admin/FTP credentials in Private Content.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: gorilladesign
    gorilladesign
    Participant
    April 13, 2015 at 15:44

    Hello,

    I’me having a similar issue with users that are not logged in. Has the issue been resolved?

    Here’s a video of how it is not working: http://quick.as/xjdofpkx8

    Avatar: Eva
    Eva Kemp
    Support staff
    April 13, 2015 at 16:22

    Hello @gorilladesign,

    Please update the theme to the latest version as well as the required plugins https://www.8theme.com/download-plugins/ .
    Create a back up of your files and database before update.
    How to update theme you can watch in our video tutorial:
    https://www.youtube.com/watch?v=KdWESIIPU1k

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: femr
    femr
    Participant
    April 15, 2015 at 07:02

    Hi, so that everyone else in my situation knows: my issue was resolved by wpengine, not by updating the theme/plugins. (if you are running your site with wpengine, contact their customer service).
    By the way, if anyone else is having problems with Yith wishlist (users not being able to remove saved products or add them to cart) this might help you, at least it helped me: https://wordpress.org/support/topic/i-cant-delete-wishlist-product-javascriptvoid0

    Good luck!

    Avatar: stan
    Stan Russell
    Participant
    April 15, 2015 at 07:42

    Hello femr,

    thank you for your reply. We highly appreciate it.
    Have a nice day!

    Regards,
    Stan Russell.

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Nothing happens when visitor clicks Add to Cart button’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.