Sometimes an AJAX request causes a Magento session to be lost. The shopping cart may suddenly be emptied, or a logged-in user may unexpectedly be logged out.
One possible cause is a missing image that triggers a “404 Not Found” response. In Chrome, this may cause the session to be cleared. Check the Network tab in Chrome Developer Tools for missing images (highlighted in red), then replace or restore those files.
Cart suddenly empty or user logged out after an Ajax request in Chrome
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.