Cart and Auto Add-to-Cart Issues on My Website

This topic has 18 replies, 2 voices, and was last updated 1 months, 2 weeks ago ago by Andrew Mitchell

  • Avatar: Tanweer
    Tanweer
    Participant
    October 13, 2025 at 18:06

    Hello XStore Support Team,

    I’m facing multiple issues related to the cart functionality on my website, which is built using the XStore theme.

    Products Automatically Added to Cart:
    Sometimes products are automatically added to the cart without any user action. This happens randomly on different pages, even when no “Add to Cart” button is clicked.

    Cart Not Updating Until Page Refresh:
    When a customer clicks the “Add to Cart” button and goes to the cart page, the product doesn’t appear immediately. It only shows up after refreshing the page.
    This creates confusion for customers and affects conversions.

    I have already tried the following steps:

    Cleared all caches (website, browser, and Cloudflare).

    Disabled AJAX add to cart in theme settings.

    Tested with plugins disabled (except WooCommerce and GoKwik).

    Switched to a default WooCommerce cart layout.

    However, the issue persists.

    Please look into this and advise on a permanent fix or provide a patch/update.
    I’m using the latest version of the XStore theme and WooCommerce.

    Website: readerinbookland.com
    WordPress & WooCommerce are fully updated.

    17 Answers
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 14, 2025 at 07:06

    Hello, Tanweer,

    Could you please provide temporary wp-admin and FTP access? We will check what can be done to help you.
    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Best Regards,
    8Theme’s Team

    Avatar: Tanweer
    Tanweer
    Participant
    October 16, 2025 at 08:40

    Please find these details, and please solve the issues, there are alot of issues with the theme.

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 16, 2025 at 09:04

    Hello, Tanweer,

    Thank you for providing access. We have noticed that you are currently using theme version 9.5.4, while the latest available version is 9.6. Please update the theme or grant us permission to do it for you.

    Best regards,
    8Theme Team

    Avatar: Tanweer
    Tanweer
    Participant
    October 16, 2025 at 09:12

    Updated.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 16, 2025 at 09:19

    Thank you for updating the theme. We have made some changes, and now the cart will be synchronized across all pages. Please check if the issue has been resolved.

    Best regards,
    8Theme Team

    Avatar: Tanweer
    Tanweer
    Participant
    October 16, 2025 at 09:27

    still i need to refresh the cart page after adding any product.

    Avatar: Tanweer
    Tanweer
    Participant
    October 16, 2025 at 11:11

    Hello, Please solve the issue, it is not solved yet.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 16, 2025 at 12:05

    To assist you more effectively, we kindly request that you record a video demonstrating the issue and the steps leading to it. This will help us better understand and replicate the problem on our end.
    Upload the video on a filesharing service, for example – https://fex.net/ , and provide us with the URL.

    Best Regards,
    8Theme’s Team

    Avatar: Tanweer
    Tanweer
    Participant
    October 16, 2025 at 12:09

    How is this helping? Its online you have all the access, you can check anything, still asking for video. You guys really need video or just wasting time.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 16, 2025 at 14:23

    We understand your concern and appreciate your patience. The video request is necessary to help us clearly identify the issue and provide you with the most accurate and efficient solution. It allows our technical team to see the exact steps and behavior on your site, ensuring we can resolve the matter as quickly as possible.

    As we currently do not see any issues with the functionality of the map on your website. Please review the attached video.

    Best regards,
    8Theme Team

    Please contact administrator
    for this information.
    Avatar: Tanweer
    Tanweer
    Participant
    October 16, 2025 at 22:13

    Please check the video i have shared, In this video you can see the issue, after adding the product in cart, it is not showing before refreshing. Also sometimes random product is being added in the cart.

    Please contact administrator
    for this information.
    Avatar: Tanweer
    Tanweer
    Participant
    October 17, 2025 at 08:03

    Hello, did you guys see the issues?

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 17, 2025 at 15:36

    Hello,

    Sorry for the delay in our response.

    It’s strange that you are experiencing the issue, as everything works fine on our side.

    Please provide answers to the following questions:
    1. Which browsers and devices were used for testing? Does the issue appear only on mobile or in a specific browser? Please perform various tests.

    2. Could you please test if the same issue occurs when using a default theme, such as Storefront (Appearance > Themes)? Let us know the results.

    Best Regards,
    8Theme’s Team

    Avatar: Tanweer
    Tanweer
    Participant
    October 19, 2025 at 10:56

    it is happening on mobile devices. Please check properly.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 20, 2025 at 16:07

    Hello,

    It seems that we have identified the issue on your website; however, this is a rather unique situation that we are unable to reproduce on our test site. Therefore, we will investigate it directly on your website and will inform you as soon as we make any progress in resolving it.

    Best regards,
    8Theme’s Team

    Avatar: Tanweer
    Tanweer
    Participant
    October 20, 2025 at 18:04

    Yes, please do it fast, as it is already so much delayed.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 21, 2025 at 14:57

    Hello,

    We have encountered this issue for the first time and discovered that, for some reason, your cart page is being cached. We have tried disabling all plugins, but the problem does not seem to be related to them. Therefore, we added the following custom code to the child theme to prevent the cart page from being cached.

    add_action('template_redirect', function() {
        if (is_cart() || is_checkout() || is_account_page()) {
            // Disable caching headers
            nocache_headers();
    
            // Disable LiteSpeed Cache (if active)
            if (class_exists('LiteSpeed_Cache_API')) {
                LiteSpeed_Cache_API::disable();
            }
    
            // Disable WP Super Cache
            if (function_exists('wp_cache_disable')) {
                wp_cache_disable();
            }
    
            // Disable W3 Total Cache
            if (defined('W3TC')) {
                header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
            }
    
            // Extra safety for reverse proxies / CDNs
            header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
            header('Pragma: no-cache');
            header('Expires: Sat, 01 Jan 2000 00:00:00 GMT');
        }
    });

    However, this solution only partially helps, because when a product is removed from the cart page, the products are completely replaced with others. This is not a template cache issue but rather a database query cache issue. We noticed that you have database optimization plugins installed, and we are concerned that these plugins may have modified the database in such a way that, when a product is removed, the same cart page content is returned.

    At this point, the best solution for you would be to restore a database backup created before the optimization was performed using these plugins.

    Best regards,
    8Theme Team

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

You must be logged in to reply to this topic.Log in/Sign up

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